Lindsay Banin wrote:
>
> Dear R users,
>
> Does anybody have a function to calculate logLik or AIC for nlsList
> objects? After receiving error messages, another user helped me ascertain
> that this function is not currently written into R.
>
how about:
library(nlme)
example(nlsList)
sapply(fm1,logLik)
sum(sapply(fm1,logLik))
?
--
View this message in context:
http://www.nabble.com/Function-for-AIC-or-logLIK-for-nlsList-object-tp23995762p23998109.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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.