Description Usage Arguments Value Author(s) See Also Examples
This method function returns the log-likelihood for fitted dose-response models represented in objects of class "dosresmeta
".
1 2 |
object |
an object of class " |
... |
further arguments passed to or from other methods. |
A numeric scalar of class "logLik"
.
Alessio Crippa, alessio.crippa@ki.se
dosresmeta
, dosresmeta-package
, logLik
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data("alcohol_crc")
## Dose-response model assuming linearity
lin <- dosresmeta(formula = logrr ~ dose, type = type, id = id, se = se,
cases = cases, n = peryears, data = alcohol_crc, proc = "1stage")
## Log-likelihood
ll <- logLik(lin)
ll
attributes(ll)
## AIC and BIC
AIC(ll)
BIC(ll)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.