objfun.pmodel_identity: Objective function of personalised models

Description Usage Arguments

View source: R/pmodel-methods.R

Description

Get the contributions of an objective function (e.g. likelihood contributions) and the sum thereof (e.g. log-Likelihood).

Usage

1
2
3
4
5
## S3 method for class 'pmodel_identity'
objfun(x, ...)

## S3 method for class 'pmodel_identity'
logLik(object, add_df = 0, ...)

Arguments

x, object

object of class pmodel_identity (obtained by pmodel(..., fun = identity)).

...

additional parameters passed on to objfun.

add_df

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.


model4you documentation built on Jan. 8, 2021, 3:02 p.m.