
grpreg grouped Cox backend
grpreg-backend.RdWrappers for grouped survival models fitted with grpreg.
Usage
fit.grpsurv(response, x, cplx, group, ...)
complexity.cv.grpsurv(response, x, full.data, group, ...)
# S3 method for class 'grpsurv'
predictProb(object, response, x, times, complexity = NULL, ...)
# S3 method for class 'grpsurv'
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.- group
group membership vector for the columns of
x.- full.data
full data frame, accepted for the
peperrcomplexity-function contract.- object
a fitted
grpsurvobject.- times
evaluation times for survival probabilities.
- complexity
selected
lambdavalue.- newdata
new covariate matrix.
- newtime
vector of follow-up times.
- newstatus
vector of event indicators.
- ...
additional arguments passed to
grpsurv,cv.grpreg, orpredict.
Value
Fitted grpsurv objects, scalar lambda values, survival-probability matrices, and numeric predictive partial log-likelihood values, respectively.