Generic function for calculating the loglikelihood contributions from individual observations for a fitted model.
A fitted model object.
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
df (model degrees of freedom) and
nobs (number of