| coef {ouch} | R Documentation |
Model coefficients
Description
coef extracts the parameters from a fitted model object.
Usage
## S4 method for signature 'hansentree'
coef(object, ...)
## S4 method for signature 'browntree'
coef(object, ...)
Arguments
object |
fitted model object. |
... |
additional arguments, ignored. |
Value
coef applied to a hansentree object returns a named list containing the estimated \alpha and \sigma^2 matrices(given as the alpha.matrix and sigma.sq.matrix elements, respectively) but also the MLE returned by the optimizer
(as sqrt.alpha and sigma, respectively).
The latter elements should not be interpreted, but can be used to restart the algorithm, etc.
coef applied to a browntree object extracts a list with three elements:
sigmathe coefficients of the sigma matrix.
thetaa list of the estimated optima, one per character.
sigma.sq.matrixthe sigma-squared matrix itself.
See Also
Other methods for ouch trees:
as_data_frame,
bootstrap(),
logLik,
ouch-package,
paint(),
plot(),
print(),
simulate(),
summary(),
update()