Displaying 1 result from an estimated 1 matches for "rogersii_n".
2012 Jun 05
1
- help with the predict function
...t some values for an nls regression function
(functional response model Rogers type II). This is an asymptotic function
of which I would like to predict the asymptotic value
I estimated the paramters with nls, but can't seem to get predictions for
values of m choice......
This is my script:
RogersII_N <-
nls(FR~N0-lambertW(attackR3_N*Th3_N*N0*exp(-attackR3_N*(24-Th3_N*N0)))/(attackR3_N*Th3_N),start=list(attackR3_N=0.04,Th3_N=1.46),control=list(maxiter=10000))
lista <- c(1,2,100,1000)
predict(RogersII_N,newdata=lista)
I created a list (lista) with some values of which I would like the
pr...