gr_density_plot: Density plot

View source: R/rgreen_plots.R

gr_density_plotR Documentation

Density plot

Description

This function calculates and plots kernel density estimations for normalized hydrological indices. The function normalizes selected variables by a reference column, computes statistical parameters (mean and standard deviation) to automatically scale the axes, and overlays density lines for comparison across different data groups.

Usage

gr_density_plot(df_plot, plot_index, basin_name, cSD)

Arguments

df_plot

data frame.

plot_index

numeric. The indexes to plot

basin_name

character. The name of the basin

cSD

numeric. The standard deviation

Value

No return value, called for the side effect of drawing a plot


GREENeR documentation built on Feb. 12, 2026, 1:07 a.m.