R/logLik_vec_methods.R
logLik_vec.Rd
Generic function for calculating the loglikelihood contributions from individual observations for a fitted model.
logLik_vec(object, ...)
object | A fitted model object. |
---|---|
... | Further arguments. |
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.