Generic function for calculating the loglikelihood contributions from individual observations for a fitted model.

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.

stats::logLik()