View source: R/figures-radar.R
plot_radar | R Documentation |
Create a radar plot
plot_radar(
pm_df,
palette = "Set2",
custom_pal = NULL,
french = isTRUE(getOption("french")),
...
)
plot_radar_facet(
pm_df_list,
custom_pal = NULL,
ncol = NULL,
nrow = NULL,
french = isTRUE(getOption("french")),
...
)
pm_df |
A performance metric data frame from |
palette |
A palette color as recognized by |
custom_pal |
A named character vector of custom colors to pass to
|
french |
French? |
... |
Other arguments to pass to |
pm_df_list |
A named list of performance metric data frames from
|
ncol |
An optional number of columns in the grid. |
nrow |
An optional number of rows in the grid. |
A ggplot object
probs <- get_probs(mse_example, "P40", "P100", "PNOF", "LTY", "AAVY")
plot_radar(probs)
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_radar_facet(pm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.