rvn_forcings_plot {RavenR}R Documentation

Plots summary of watershed forcing functions

Description

rvn_forcings_plot generates a set of 5 plots (precip,temperature,PET,radiation, and potential melt), which summarize the watershed-averaged forcings. Returns a list with the individual plots.

Usage

rvn_forcings_plot(forcings, prd = NULL)

Arguments

forcings

forcings attribute from forcings.read function

prd

(optional) time period over which the plots are generated

Details

This function creates multiple plots from a ForcingFunctions.csv file structure generating using RavenR's forcings.read function

Value

forcing_plots list of ggplot objects of individual forcing plots and the combined plot

See Also

rvn_forcings_read for the function used to read in the forcings function data

Examples


# read in sample forcings data
data("rvn_forcing_data")
fdata <- rvn_forcing_data$forcings

# plot forcings data
p1 <- rvn_forcings_plot(fdata)
p1$Precipitation
p1$AllForcings

# plot subset of forcing data for 2002-2003 water year
prd = "2002-10-01/2003-09-30"
rvn_forcings_plot(fdata,prd)$AllForcings


[Package RavenR version 2.1.0 Index]