logLik.modeler: Extract Log-Likelihood for an object of class 'modeler'

View source: R/08_comparison.R

logLik.modelerR Documentation

Extract Log-Likelihood for an object of class modeler

Description

logLik for an object of class modeler

Usage

## S3 method for class 'modeler'
logLik(object, ...)

Arguments

object

An object inheriting from class modeler resulting of executing the function modeler()

...

Further parameters. For future improvements.

Value

A tibble with the Log-Likelihood for the fitted models.

Author(s)

Johan Aparicio [aut]

Examples

library(flexFitR)
dt <- data.frame(X = 1:6, Y = c(12, 16, 44, 50, 95, 100))
mo_1 <- modeler(dt, X, Y, fn = "fn_lin", param = c(m = 10, b = -5))
plot(mo_1)
logLik(mo_1)

flexFitR documentation built on April 16, 2025, 5:09 p.m.