View source: R/outcome_histograms.R
outcome_histograms | R Documentation |
This function produces pretty histograms of the posterior distributions of outcome predictions (the default is to only show the outcomes for scenarios in which strike zone is 1.5x draft and avoidance is a function of vessel speed).
outcome_histograms(
outcomes,
surface_var = "surface2",
collision_var = "collision2.2",
mortality_var = "mortality2.2",
plot_all = FALSE,
orientation = "vertical"
)
outcomes |
A |
surface_var |
The 'strike zone event' variable to use ( |
collision_var |
The |
mortality_var |
The |
orientation |
Character; |
A ggplot2
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.