logLik_vec {chantrics} | R Documentation |
Evaluate loglikelihood contributions from specific observations
Description
Generic function for calculating the loglikelihood contributions from individual observations for a fitted model.
Usage
logLik_vec(object, ...)
Arguments
object |
A fitted model object. |
... |
Further arguments. |
Value
An object of class "logLik_vec"
, which is a numeric vector of length
nobs(object)
(i.e. the number of observations in object
) of the
loglikelihood of each observation. Additionally, it contains the
attributes df
(model degrees of freedom) and nobs
(number of
observations).
The methods stats::logLik()
, and stats::nobs()
are available.
See Also
[Package chantrics version 1.0.0 Index]