Skip to contents

Linear Model Plot for any Pollutant & Monitor(s)

Usage

plot_lm(data, x, y, title, xlab, ylab, caption)

Arguments

data

Pollutant Dataset. Must be in 'Date | Quant | BAM' form.

x

Independent variable

y

Dependent variable

title

Title of the plot.

xlab

X axis label.

ylab

Y axis label.

caption

Equation caption.

Value

A Linear Model ggplot