Extract the log-likelihood of an ncvreg or ncvsurv object.

# S3 method for class 'ncvreg'
logLik(object, REML = FALSE, ...)

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

Arguments

object

An ncvreg or ncvsurv object, as obtained from ncvreg() or ncvsurv()

REML

As in logLik.lm()

...

For S3 compatibility

See also