map_causes | R Documentation |
Maps cause predictions to broader causes
map_causes(causes, cause_map)
causes |
Either a character vector with the single predicted cause per individual, or a matrix with each row giving cause predictions for an individual. The columns of this matrix must have the original cause names |
cause_map |
A data frame, with a column |
A matrix giving individual probabilities for the broad causes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.