View source: R/figures-tigure.R
plot_tigure | R Documentation |
Summary of performance metrics from MSE objects in a coloured tile table format
plot_tigure(
probs_dat,
digits = 2,
relative_max = FALSE,
scale_0_1 = FALSE,
sort_by = "decreasing",
mp_order = NULL,
satisficed = NULL,
return_data = FALSE,
alpha = 0.6,
do_approx = TRUE,
french = isTRUE(getOption("french"))
)
plot_tigure_facet(pm_df_list, ncol = NULL, ...)
probs_dat |
A data frame as returned from |
digits |
How many decimal places to show in the tiles for the values |
relative_max |
Make the plot have each column use a relative maximum. If
|
scale_0_1 |
Scale each column from 0 to 1, so that the colours in each column are fully represented |
sort_by |
show values in decreasing or increasing format |
mp_order |
Optional hardcoded MP order |
satisficed |
An optional named numeric vector. The names correspond to
the performance metrics and the values correspond to the values above which
( |
return_data |
Logical. If |
alpha |
Transparency of underlying colour. |
do_approx |
Logical. If |
french |
French? |
pm_df_list |
A named list of performance metric data frames from
|
ncol |
Optional number of columns. |
... |
Other arguments to pass to |
probs <- get_probs(mse_example, "P40", "P100", "PNOF", "LTY", "AAVY")
plot_tigure(probs)
plot_tigure(probs, alpha = 0.9)
plot_tigure(probs, satisficed = c("P40" = 0.9, "LTY" = 0.9))
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_tigure_facet(pm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.