Description Usage Arguments Value
Utility function to create an individual density plot of the distribution of a given environmental variables across gauges and the whole global river network.
1 | ggenvhist(vartoplot, in_gaugedt, in_rivdt, in_predvars, scalesenvhist)
|
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. |
ggplot with two density distributions of the environmental variable, one for the gauging stations and one for the global river network.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.