logLik.GeDS: Extract Log-Likelihood from a GeDS Object

View source: R/S3methods.R

logLik.GeDSR Documentation

Extract Log-Likelihood from a GeDS Object

Description

Method for logLik that returns the log-likelihood of the selected GeDS regression model.

Usage

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

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

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

Arguments

object

a GeDS-class object.

n

integer value (2, 3 or 4) specifying the order (= degree + 1) of the GeDS/GeDSboost/GeDSgam 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, GeDS-class


GeDS documentation built on June 10, 2025, 5:10 p.m.