tidy.logLik | R Documentation |
Creates a data.frame for a log-likelihood object
## S3 method for class 'logLik'
tidy(x, ...)
x |
x A log-likelihood object, typically returned by logLik. |
... |
Additional arguments (not used) |
A data.frame with columns:
The term name
The log-likelihood value
The degrees of freedom
Davood Tofighi dtofighi@gmail.com
logLik
fit <- lm(mpg ~ wt, data = mtcars)
logLik_fit <- logLik(fit)
tidy(logLik_fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.