logLik.GeDS {GeDS}R Documentation

Extract Log-Likelihood from a GeDS Object

Description

Method for logLik that returns the log-likelihood of the selected GeDS, GeDS-GAM or FGB-GeDS model.

Usage

## S3 method for class 'GeDS'
logLik(object, n = 3L, ...)

## S3 method for class 'GeDSgam'
logLik(object, n = 3L, ...)

## S3 method for class 'GeDSboost'
logLik(object, n = 3L, ...)

Arguments

object

A "GeDS", "GeDSgam" or "GeDSboost" class object.

n

Integer value (2, 3 or 4) specifying the order (= degree + 1) of the "GeDS", "GeDSgam" or "GeDSboost" fit whose loglikelihood should be extracted. By default equal to 3L; non-integer values will be passed to the function as.integer.

...

Additional arguments passed to logLik.

Value

An object of class logLik.

See Also

logLik


[Package GeDS version 0.3.3 Index]