Extracts the log-likelihood function for a fitted parametric model.
## S3 method for class 'survstan'logLik(object,...)
Arguments
object: a fitted model of the class survstan
...: further arguments passed to or from other methods.
Returns
the log-likelihood value when a single model is passed to the function; otherwise, a data.frame with the log-likelihood values and the number of parameters is returned.