incorporate_outcome | R Documentation |
This is an internal function multiplying all outcome predictions with 0 if the respective row is not part of the outcome.
incorporate_outcome(pred_list, mus, sigmas, outcome_ids, outcome_levels)
pred_list |
List of predictions for each outcome. |
mus |
Integer vector for numbering available mus. Can be NULL but shouldn't. |
sigmas |
Integer vector for numbering available sigmas. Can be NULL. |
outcome_ids |
Numeric matrix resulting from model.matrix call containing the info about the outcomes. Column names are hard coded. |
outcome_levels |
Character string containing the outcome names. |
List but now with 0 elements where the rows are not corresponding to outcomes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.