[R] linear terms within a nonlinear model

2006-09-25 Thread Ben Bolker
I have a complicated nonlinear function, myfun(a,b,c), that I want to fit to data, allowing one or more of the parameters a, b, and c in turn to have linear dependence on other covariates. In other words, I'd like to specify something like nls(y~myfun(a,b,c),linear=list(a~f1,b~1,c~1)) I

Re: [R] linear terms within a nonlinear model

2006-09-25 Thread Christian Ritz
Hi, the contributed package 'drc' allows specification of non-linear regression models with individual parameter models that include covariates. For an example see section 8 the accompanying paper in J. Statist. Software (http://www.jstatsoft.org/v12/i05/v12i05.pdf). Christian