Dear R experts---I would like to estimate a non-linear least squares
expression that looks something like

   y ~ a+b*min(c,x)

where a, b, and c are the three parameters.  how do I define a min
function in the formula language of R?  advice appreciated.

sincerely,

/iaw

______________________________________________
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