
Sparse-group-lasso Cox backend
SGL-backend.RdWrappers for Cox models fitted with SGL.
Usage
fit.SGL.cox(response, x, cplx, index, ...)
complexity.cvSGL.cox(response, x, full.data, index, ...)
# S3 method for class 'SGL_cox'
predictProb(object, response, x, times, complexity = NULL, ...)
# S3 method for class 'SGL_cox'
PLL(object, newdata, newtime, newstatus, complexity = NULL, ...)Arguments
- response
survival response as a
Survobject or a two-columntime/statusmatrix.- x
covariate matrix.
- cplx
selected
lambdavalue.- index
group membership vector for the columns of
x.- full.data
full data frame, accepted for the
peperrcomplexity-function contract.- object
a fitted
SGL_coxobject.- times
evaluation times for survival probabilities.
- complexity
selected
lambdavalue.- newdata
new covariate matrix.
- newtime
vector of follow-up times.
- newstatus
vector of event indicators.
- ...
Value
Fitted SGL_cox objects, selected lambda values, survival-probability matrices, and numeric predictive partial log-likelihood values, respectively.