ggenvhist: Plot of environmental histogram

Description Usage Arguments Value

Description

Utility function to create an individual density plot of the distribution of a given environmental variables across gauges and the whole global river network.

Usage

1
ggenvhist(vartoplot, in_gaugedt, in_rivdt, in_predvars, scalesenvhist)

Arguments

vartoplot

(column) variable for which to produce a density plot.

in_gaugedt

data.table of gauging stations' environmental attributes.

in_rivdt

data.table of global river network's environmental attributes

in_predvars

data.table of predictor variable codes, names and attributes. Output from selectformat_predvars.

scalesenvhist

list of scale objects to format plot. From formatscales.

Value

ggplot with two density distributions of the environmental variable, one for the gauging stations and one for the global river network.


NaiaraLopezRojo/globalIRmap documentation built on Dec. 17, 2021, 5:19 a.m.