Skip to contents

Boxplots of one numeric parameter grouped by a categorical column.

Usage

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

Arguments

df

Data frame with water quality data.

parametro

Character; name of the numeric parameter column.

by

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

Value

A ggplot object.

Examples

# \donttest{
data(wq_demo)
plot_box(wq_demo, "turbidez", by = "ponto")

# }