[R] R formula language---a min and max function?
dwinsemius at comcast.net
Tue May 4 21:40:46 CEST 2010
On May 4, 2010, at 3:33 PM, ivo welch wrote:
> 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.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help