yanyu at cs.ucla.edu
Fri Jan 17 07:16:03 CET 2003
i have some prob when i try to use nls().
my data is 1D vector, I tried to use a polynomial function(order is 3) to
the data series is stored in x.
the a0, a1, a2, a3 below is coefficient, which i hope i can get from
> z <- nls( ~ a0 + a1 * x + a2 * x * x + a3 * x * x * x, data = x )
Error in match.call(definition, call, expand.dots) :
.Primitive... is not a function
Any idea on what is the problem?
More information about the R-help