raw_boxplot {SWMPrExtension} | R Documentation |
Boxplots of raw data by user-defined season for a target year
Description
Boxplots of raw data by user-defined season for a target year
Usage
raw_boxplot(swmpr_in, ...)
## S3 method for class 'swmpr'
raw_boxplot(
swmpr_in,
param = NULL,
target_yr = NULL,
criteria = NULL,
free_y = FALSE,
log_trans = FALSE,
converted = FALSE,
plot_title = FALSE,
...
)
Arguments
swmpr_in |
input swmpr object |
... |
additional arguments passed to other methods. See |
param |
chr string of variable to plot |
target_yr |
numeric, if target year is not specified then all data in the data frame will be used. |
criteria |
numeric, a numeric criteria that will be plotted as a horizontal line |
free_y |
logical, should the y-axis be free? Defaults to |
log_trans |
logical, should y-axis be log? Defaults to |
converted |
logical, were the units converted from the original units used by CDMO? Defaults to |
plot_title |
logical, should the station name be included as the plot title? Defaults to |
Details
This function produces boxplots of raw, unaggregated data by user-specified season for year of interest
Value
A ggplot
object
Author(s)
Julie Padilla
See Also
ggplot
, assign_season
, y_labeler
Examples
## get data, prep
data(elksmwq)
dat <- elksmwq
dat <- qaqc(elksmwq, qaqc_keep = c('0', '3', '5'))
raw_boxplot(dat, param = 'do_mgl')