Log likelihood from a flexsurvreg model
# S3 method for flexsurvreg
logLik(object, ...)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).
A fitted model object of class
flexsurvreg, e.g. as returned by
flexsurvreg or flexsurvspline.
Other arguments (currently unused).