Re: R: [R] partial linear model

2004-12-16 Thread Jin Shusong
From: Vito Muggeo [EMAIL PROTECTED] Subject: R: [R] partial linear model Date: Thu, 16 Dec 2004 17:25:35 +0100 Dear Jin, if you mean `conditional linearity', (i.e. given the nonlinear parameter, the model is linear) you can use nls() with algorithm = plinear. See ?nls Alternatively, if your

R: [R] partial linear model

2004-12-16 Thread Vito Muggeo
Dear Jin, if you mean `conditional linearity', (i.e. given the nonlinear parameter, the model is linear) you can use nls() with algorithm = plinear. See ?nls Alternatively, if your model has just one nonlinear parameter th, say, I think you can write the objective function (for instance the