plot_dots | R Documentation |
Dot plot
plot_dots(
pm_df_list,
type = c("single", "facet"),
custom_pal = NULL,
dodge = 0.6,
bar_alpha = 0.2,
pt_size = 2.25,
french = isTRUE(getOption("french"))
)
pm_df_list |
A named list of performance metric data frames from
|
type |
The type of plot. Multipanel |
custom_pal |
An optional custom color palette. Should be a named character vector |
dodge |
The amount to separate or "dodge" the dots. |
bar_alpha |
Background bar transparency. 0 will omit. |
pt_size |
Point size. |
french |
French? |
A ggplot2 object
probs <- get_probs(mse_example, "P40", "P100", "PNOF", "LTY", "AAVY")
pm <- list()
pm[[1]] <- get_probs(mse_example, "P40", "P100", "PNOF", "LTY", "AAVY")
pm[[2]] <- get_probs(mse_example, "P40", "P100", "PNOF", "LTY", "AAVY")
names(pm) <- c("Scenario 1", "Scenario 2")
plot_dots(pm)
plot_dots(pm, type = "facet")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.