powered by
Plot a time series for one numeric parameter, optionally colored/faceted by a grouping column.
plot_series(df, parametro, facet = NULL)
A ggplot object.
ggplot
Data frame with a data column (Date/POSIXct) and the parameter column.
data
Character; name of the numeric column to plot on Y.
Character or NULL; optional grouping column name to color/facet.
NULL
plot_box(), plot_heatmap(), iqa()
plot_box()
plot_heatmap()
iqa()
# \donttest{ data(wq_demo) # Basic: time series of turbidity p <- plot_series(wq_demo, "turbidez") # With color/facet by sampling point p2 <- plot_series(wq_demo, "turbidez", facet = "ponto") # }
Run the code above in your browser using DataLab