[R] Using lm to estimate a parameter?

2013-02-19 Thread hellen
Hi, I have a data with three variables (X,Y,Z) and I have an equation as Z=X/(1+L*X/Y) where L is a constant which need to be estimated from data. How should I write the formula in lm or is it possible to fit a linear model in this case? Thanks! Hallen [[alternative HTML version deleted]]

[R] How to define degree=1 in mgcv

2010-01-24 Thread hellen lee
gam1 and ns1, I want to define degree=1 in mgcv and ns. I am wondering if there is somebody can give me some suggestions? I appreciate. Hellen [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

[R] How to define degree=1 in mgcv

2010-01-24 Thread hellen lee
gam1 and ns1, I want to define degree=1 in mgcv and ns. I am wondering if there is somebody can give me some suggestions? I appreciate. Hellen [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman