survfitS.smoothSurvReg {icensBKL} | R Documentation |
Survivor function for Objects of Class 'smoothSurvReg'
Description
Compute survivor function at left and right endpoint based on the fitted model. The function is an adapted version of the survfit.smoothSurvReg function of the package smoothSurv.
Usage
survfitS.smoothSurvReg(formula, cov, logscale.cov)
Arguments
formula |
Object of class smoothSurvReg. |
cov |
Vector or matrix with covariates values for which the survivor function
is to be computed. It must be a matrix with as many columns as
is the number of covariates (interactions included) or the vector of length
equal to the number of covariates (interactions included). Intercept is not
to be included in |
logscale.cov |
Vector or matrix with covariate values for the expression of log-scale (if this depended on covariates). It can be omitted in the case that log-scale was common for all observations. |
Value
A data.frame
with columns named S1
and S2
containing the value of survivor function at the left and right endpoints, respectively.
Note
This is not to be called by the user.
Author(s)
Kris Bogaerts kris.bogaerts@kuleuven.be