Learn R Programming

tikatuwq (version 0.8.2)

plot_box: Boxplots by site/parameter

Description

Boxplots of one numeric parameter grouped by a categorical column.

Usage

plot_box(df, parametro, by = "ponto")

Value

A ggplot object.

Arguments

df

Data frame with water quality data.

parametro

Character; name of the numeric parameter column.

by

Character; grouping column (e.g., "ponto").

See Also

plot_series(), plot_heatmap(), iqa()

Examples

Run this code
# \donttest{
data(wq_demo)
plot_box(wq_demo, "turbidez", by = "ponto")
# }

Run the code above in your browser using DataLab