coef {melt} | R Documentation |
Model coefficients
Description
Extracts the maximum empirical likelihood estimates from a model.
Usage
## 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, ...)
Arguments
object |
An object that contains the maximum empirical likelihood estimates. |
... |
Further arguments passed to methods. |
Value
The form of the value returned by coef()
depends on the class of
its argument.
Methods (by class)
-
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.
See Also
Examples
data("mtcars")
fit <- el_lm(mpg ~ wt, data = mtcars)
coef(fit)
[Package melt version 1.11.4 Index]