plot_pmf_factor_contributions: Function to plot PMF factor contributions using data from...

View source: R/pmf_plotting_functions.R

plot_pmf_factor_contributionsR Documentation

Function to plot PMF factor contributions using data from read_pmf_factor_profiles.

Description

Function to plot PMF factor contributions using data from read_pmf_factor_profiles.

Usage

plot_pmf_factor_contributions(
  df,
  variable = c("factor", "source"),
  by_model_run = TRUE
)

Arguments

df

Tibble from read_pmf_factor_profiles.

variable

Variable to plot, either "factor" or "source".

by_model_run

Should the plots be faceted by model runs?

Value

ggplot2 with bar geometries.

Author(s)

Stuart K. Grange


skgrange/pmfr documentation built on June 30, 2022, 12:28 a.m.