On Jun 12, 2011, at 20:25 , Diviya Smith wrote:
> Hello there,
>
> I am trying to use R function NLS to analyze my data and one of the examples
> in the documentation is -
>
> ## the nls() internal cheap guess for starting values can be sufficient:
>
> x <- -(1:100)/10
> y <- 100 + 10 * exp(x
Hello there,
I am trying to use R function NLS to analyze my data and one of the examples
in the documentation is -
## the nls() internal cheap guess for starting values can be sufficient:
x <- -(1:100)/10
y <- 100 + 10 * exp(x / 2) + rnorm(x)/10
nlmod <- nls(y ~ Const + A * exp(B * x), trace=T
2 matches
Mail list logo