I want to fit a nonlinear model of the form:
Y=A+B*X1+C*X2+log(X3/(X3+D))
I think that the best way is to use the plinear algorithm, but I don't know how to specify the formula in the nls function.
I've tried:
Y~cbind(rep(1,times=length(Y)),X1,X2,log(X3/(X3+D)))
But this fits the model:
Y=A+B*X1+C*X2+D1*log(X3/(X3+D))
How can I specify the formula correctly?
Thanks,
M

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to