Function to create an animated Stiff Diagram
stiff_time_plot(df, ...)
Arguments
df |
data frame of water quality data |
... |
Arguments passed on to stiff_plot
- df
data frame of water quality data
- location_id
column for sample locations
- sample_date
column for sample date
- param_name
column for constituent names
- analysis_result
column for analysis result
- default_unit
column for units. Assumes all units are in mg/L and
converts usign conc_to_meq
- magnesium
name for magnesium
- calcium
name for calcium
- sodium
name for sodium
- potassium
name for potassium
- chloride
name for chloride
- sulfate
name for sulfate
- alkalinity
name for alkalinity
- total_dissolved_solids
name for TDS to scale color of plot.
Default is NULL
- group_var
parameter to separate plots by. Default is sample location
- facet_var
parameter to facet the plot by. Default is sample date
- lines
TRUE/FALSE plots lines
- cex
multiplier to scale plot height
|