statistics - The "formula" argument in R elrm() function did not read a specific data -
there wrong argument "tryout." kept showing me "tryout" not found. wrong code?
data <- data.frame(event=c(0,1), x =c(0,1), tryout <- c(100,100)) m <-elrm(event/tryout ~ x, interest = ~ x, iter = 1000, burnin = 0, data = data, r = 2) result <- m$coef
any great.
Comments
Post a Comment