Extract the log-likelihood of an ncvreg or ncvsurv object.
Arguments
- object
An
ncvregorncvsurvobject, as obtained fromncvreg()orncvsurv()- REML
As in
logLik.lm()- ...
For S3 compatibility
Value
An object with S3 class logLik. This is a vector of numbers (the log-likelihood at each value
of the regularization parameter) with the following attributes:
- df
Degrees of freedom
- nobs
Number of observations