Description Usage Arguments Value See Also Examples
This function is not actually used. It is a R replicate of the C++ function predictorC
that is actually used. It computes the probability of death for each observation.
1 |
data |
The dataset to be used |
design_matrix |
The design matrix |
indices |
The list of indices computed by |
A vector of the probability of death.
1 2 3 4 | pmat <- build_param_matrix(param_values = c(0.1, 0.2), param_str = c("w1" = "s"))
dmat <- build_design_matrix(data = SurvEles_small, param_matrix = pmat)
p <- predictor(data = SurvEles_small, design_matrix = dmat)
table(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.