EstimateScoreSurv: Estimate disease risk score (Cox model)

Description Usage Arguments Value Author(s)

View source: R/02.ParepareDataWithinSites.R

Description

Estimate disease risk score using Cox proportional hazards model. This is for survival outcomes. The disease risk score is defined as the linear predictor from the coxph model object. This is the log hazard ratio (range [-Inf, Inf]) of the event compared to the mean covariate individual.

Usage

1

Arguments

formula

formula to specify the model used to estimate the summary score. For disease risk score, specify the outcome model in the absence of treatment.

data

data frame of data for model building. Specify the untreated subset for disease risk score estimation.

newdata

data frame of data for prediction. Specify the entire dataset.

Value

vector of linear predictors (log hazard ratios) for newdata.

Author(s)

Kazuki Yoshida


kaz-yos/distributed documentation built on May 27, 2019, 4:50 a.m.