Displaying 1 result from an estimated 1 matches for "dnase12".
Did you mean:
dnase1
2006 Sep 11
4
syntax of nlme
...DNase1 <- subset(DNase, Run == 1 )
fm2DNase1 <- nls( density ~ 1/(1 + exp((xmid - log(conc))/scal)),
data = DNase1,
start = list(xmid = 0, scal = 1),
trace = TRUE)
#Now I want to do a mixed model with covariate Run
#how is the syntax?
DNase12 <- subset(DNase, Run == 1 | Run == 2)
fm2DNase1 <- nlme( density ~ 1/(1 + exp((xmid - log(conc))/scal)),
data = DNase12,
fixed = conc ~ 1,
random = Run ~ 1,
start = list(xmid = 0, scal = 1)
)
#gives: Error in eval(exp...