logLik.nls.lm | R Documentation |
This function constructs a class, derived from an nls.lm object, similar to that of the logLik function in nls. This allows for native calls of the AIC and BIC functions from stats, using nls.lm fit objects.
## S3 method for class 'nls.lm'
logLik(fit, REML = FALSE, ...)
fit |
nls.lm fitted model |
REML |
determine whether or not to use ML (FALSE by default) |
... |
inherit other args as necessary |
provide a logLik class for AIC/BIC
Katharine Mullen <kate@few.vu.nl>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.