Hi all,

I would like to predict 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 
predict function to give me function values

What am I doing wrong?

Kind regards,
Met vriendelijke groeten,
Joachim

Don't waste paper! Think about the environment before printing this e-mail

______________________________________

Joachim Audenaert
Adviesdienst Gewasbescherming
Proefcentrum voor Sierteelt
Schaessestraat 18
B-9070 Destelbergen
Belgium
Tel. +32 9 353 94 71
Fax +32 9 353 94 95
E-mail: joachim.audena...@pcsierteelt.be
www.pcsierteelt.be
______________________________________
        [[alternative HTML version deleted]]

______________________________________________
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