Description Usage Arguments Value Examples
View source: R/FUN-cstat-ver003b.R
Provides risk score by fitting data to a Cox's proportional hazards model with a given set of predictors.
1 | Est.PH(mydata)
|
mydata |
Input data. The 1st column should be time-to-event, and the 2nd column is event indicator (1=event, 0=censor). The rest of the columns are covariates/predictors used in the model. No character variable or missing is allowed. |
beta |
Estimates for regression coefficient in the Cox model |
var |
Variance-Covariance matrix for the beta above |
rs |
Risk score of each individual |
ft |
|
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.