Description Usage Arguments Value See Also Examples
This function is called internally by other functions.
It is a wrapper for the function predictorC
which
computes the probability of death in C++ (for faster computation).
1 | predictorC_wrap(data, design_matrix, indices = NULL)
|
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 <- predictorC_wrap(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.