Extract Log-Likelihood
DESCRIPTION:
This function is generic; method functions can be written to handle
specific classes of objects. Classes that already have methods for
this function include:
corStruct
,
gls
,
lm
,
bdLm
,
lme
,
lmList
,
lmeStruct
,
reStruct
, and
varFunc
.
USAGE:
logLik(object, ...)
REQUIRED ARGUMENTS:
- object
-
any object from which a log-likelihood value, or a
contribution to a log-likelihood value, can be extracted.
OPTIONAL ARGUMENTS:
- ...
-
some methods for this generic function require additional
arguments.
VALUE:
will depend on the method function used; see the appropriate
documentation.
EXAMPLES:
## see the method function documentation