logLik.flexsurvreg: Log likelihood from a flexsurvreg model

View source: R/flexsurvreg.R

logLik.flexsurvregR Documentation

Log likelihood from a flexsurvreg model

Description

Log likelihood from a flexsurvreg model

Usage

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

Arguments

object

A fitted model object of class flexsurvreg, e.g. as returned by flexsurvreg or flexsurvspline.

...

Other arguments (currently unused).

Value

Log-likelihood (numeric) with additional attributes df (degrees of freedom, or number of parameters that were estimated), and number of observations nobs (including observed events and censored observations).


chjackson/flexsurv-dev documentation built on April 23, 2024, 10:57 a.m.