Description Usage Arguments Value Author(s)
View source: R/02.ParepareDataWithinSites.R
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.
1 | EstimateScoreSurv(formula, data, newdata)
|
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. |
vector of linear predictors (log hazard ratios) for newdata
.
Kazuki Yoshida
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.