outcome_melt | R Documentation |
predict_outcomes()
to use with tidyverse
verbs.This function may be handy if you want to conduct your own tailored analyses. It melts the results data into a tidyverse-friendly format in which every row is a single prediction. Every function above calls this function internally.
outcome_melt(
mr,
events = c("cooccurrence", "encounter", "surface", "surface2", "collision1.1",
"collision1.2", "collision1.3", "collision1.4", "collision2.1", "collision2.2",
"collision2.3", "collision2.4", "mortality1.1", "mortality1.2", "mortality1.3",
"mortality1.4", "mortality2.1", "mortality2.2", "mortality2.3", "mortality2.4")
)
mr |
A |
events |
A character vector of outcome types to retain in the melted dataset. |
A melted data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.