survest.orm: Title survest.orm

View source: R/survest.orm.r

survest.ormR 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 orm

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 TRUE to use the log-log transformatino

conf.int

a number between 0-1 with the default of 0.95; set to 0 to not compute CLs

what

specify what='parallel' to compute the survival probability at the observed linear predictor and time values, both varying; all possible combinations of these are then not created

...

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

rms documentation built on April 12, 2025, 1:18 a.m.