tdSurvDiff | R Documentation |
This function reads in a vector of estimated weight and same length risk score to calculate survival difference by formula (Wu and Li, 2018).This function is used internally by other functions in this package.
tdSurvDiff(W, X)
W |
a numerical vector of weight estimated by nonparametric weight adjustments (Li et al., 2015). Same length with |
X |
a numerical vector of risk score values. Same length with |
Survival difference as a numerical scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.