Learn R Programming

manureshed (version 0.1.2)

plot_before_after_comparison: Create Before/After Comparison Plot

Description

Create side-by-side comparison of agricultural vs WWTP+agricultural classifications

Usage

plot_before_after_comparison(data, nutrient, title)

Value

ggplot object

Arguments

data

Data frame. Summary data from create_classification_summary

nutrient

Character. "nitrogen" or "phosphorus" for coloring

title

Character. Plot title