Displaying 1 result from an estimated 1 matches for "mymod3".
Did you mean:
mymod
2006 Feb 12
1
lme, nlsList, nlsList.selfStart
...Tps,lKe,lKa,lCl),data=mydata)
as well as a developped form:
mymod2<-nls(Conc~Dose * exp(lKe+lKa-lCl) *
(exp(-exp(lKe)*Tps)-exp(-exp(lKa)*Tps)) /(exp(lKa)-exp(lKe)),
data=mydata,
start= c(lKe=-2.77, lKa=-1.41, lCl=-1.13)
)
However when trying to fit the model with nlsList, I get:
mymod3<-nlsList(Conc~Dose * exp(lKe+lKa-lCl) *
(exp(-exp(lKe)*Tps)-exp(-exp(lKa)*Tps)) /(exp(lKa)-exp(lKe)),
data=mydata,
start= c(lKe=-2.77, lKa=-1.41, lCl=-1.13)
)
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, :
variable lengths differ
Erro...