[R] nls.lm AIC

2010-02-16 Thread Baudron, Alan Ronan
Hi there, I'm a PhD student investigating growth patterns in fish. I've been using the minpack.lm package to fit extended von Bertalanffy growth models that include explanatory covariates (temperature and density). I found the nls.lm comand a powerful tool to fit models with a lot of

Re: [R] nls.lm AIC

2010-02-16 Thread Katharine Mullen
I will consider putting methods for AIC and logLik into the next version of minpack.lm (contributions welcome). For now, the following should work for logLik, where 'object' is the return value of nls.lm. logLik.nls.lm - function(object, REML = FALSE, ...) { res - object$fvec N -