Get the contributions of an objective function (e.g. likelihood contributions) and the sum thereof (e.g. log-Likelihood).
# S3 method for pmodel_identity
objfun(x, ...)# S3 method for pmodel_identity
logLik(object, add_df = 0, ...)
object of class pmodel_identity (obtained by pmodel(..., fun = identity)).
additional parameters passed on to objfun.
it is not very clear what the degrees of freedom are in personalised models.
With this argument you can add/substract degrees of freedom at your convenience. Default
is 0 which means adding up the degrees of freedom of all individual models.
For examples see pmodel.