coef | R Documentation |
Extracts the maximum empirical likelihood estimates from a model.
## S4 method for signature 'EL'
coef(object, ...)
## S4 method for signature 'ELMT'
coef(object, ...)
## S4 method for signature 'SummaryEL'
coef(object, ...)
## S4 method for signature 'SummaryLM'
coef(object, ...)
object |
An object that contains the maximum empirical likelihood estimates. |
... |
Further arguments passed to methods. |
The form of the value returned by coef()
depends on the class of
its argument.
coef(EL)
: Extracts the numeric vector of the maximum empirical
likelihood estimates.
coef(ELMT)
: Extracts the list of numeric vectors of the maximum
empirical likelihood estimates. Each element of the list corresponds to a
distinct hypothesis.
coef(SummaryEL)
: Extracts the numeric vector of the maximum empirical
likelihood estimates.
coef(SummaryLM)
: Extracts a matrix with the results of significance tests.
EL, ELMT
data("mtcars")
fit <- el_lm(mpg ~ wt, data = mtcars)
coef(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.