Skip to contents

Apply the given facets to the given plot

Usage

apply_facets(plot, plotting_groups)

Arguments

plot

A ggplot object

plotting_groups

A character vector of up to 2 group column names

Value

desc

Details

Examples

obs <- groups_obs |> dplyr::filter(grp_scenario==1)
NULL |> plot_observations(obs) |> casteval:::apply_facets(c("grp_variable"))

NULL |> plot_observations(obs) |> casteval:::apply_facets(c("grp_variable", "grp_province"))