survest.orm {rms} | R Documentation |
Title survest.orm
Description
Title survest.orm
Usage
## S3 method for class 'orm'
survest(
fit,
newdata = NULL,
linear.predictors = NULL,
x = NULL,
times = NULL,
fun,
loglog = FALSE,
conf.int = 0.95,
what = c("survival", "parallel"),
...
)
Arguments
fit |
result of |
newdata |
data frame defining covariate settings |
linear.predictors |
linear predictor vector using the reference intercept |
x |
design matrix |
times |
times for which estimates are desired; defaults to estimating probabilities of T > t for all uncensored times |
fun |
optional transformation of survival probabilities |
loglog |
set to |
conf.int |
a number between 0-1 with the default of 0.95; set to 0 to not compute CLs |
what |
specify |
... |
ignored |
Value
a data frame with variables time, surv
. If conf.int > 0
the data also contains lower, upper
. The variable Xrow
indicates the row of the design matrix or the linear predictor element used in getting the current data frame row estimate.
Author(s)
Frank Harrell
Examples
# See survest.psm