| fit.ncvsurv | R Documentation |
Wrappers for Cox models fitted with ncvreg.
fit.ncvsurv(response, x, cplx, ...)
complexity.cv.ncvsurv(response, x, full.data, ...)
## S3 method for class 'ncvsurv'
predictProb(object, response, x, times, complexity = NULL, ...)
## S3 method for class 'ncvsurv'
PLL(object, newdata, newtime, newstatus, complexity = NULL, ...)
response |
survival response as a |
x |
covariate matrix. |
cplx |
selected |
full.data |
full data frame, accepted for the |
object |
a fitted |
times |
evaluation times for survival probabilities. |
complexity |
selected |
newdata |
new covariate matrix. |
newtime |
vector of follow-up times. |
newstatus |
vector of event indicators. |
... |
additional arguments passed to |
The implementation first tries the native ncvreg survival prediction method. If that is unavailable for the installed version, it falls back to a Breslow baseline built from stored training data and linear predictors.
Fitted ncvsurv objects, selected lambda values, survival-probability matrices, and numeric predictive partial log-likelihood values, respectively.
peperr, predictProb, PLL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.