rvn_res_dygraph: Plot Raven reservoir/lake stage time series using dygraph

View source: R/rvn_res_dygraph.R

rvn_res_dygraphR Documentation

Plot Raven reservoir/lake stage time series using dygraph

Description

rvn_res_dygraph plots modeled vs observed stage plots when supplied with reservoir stage data structure read using rvn_res_read

Usage

rvn_res_dygraph(resdata, timezone = "UTC", basins = "", figheight = 400)

Arguments

resdata

reservoir stage time series data structure generated by rvn_res_read routine

timezone

data timezone; defaults to UTC

basins

list of subbasin names from reservoir file. Each subbasin creates separate dygraph plots

figheight

height of figure, in pixels

Value

a list of plot handles to dygraph plots

See Also

rvn_hyd_dygraph to generate dygraphs for hydrograph series

Examples

# read in Raven Reservoir Stages file
ff <- system.file("extdata","ReservoirStages.csv", package="RavenR")
resdata <- rvn_res_read(ff)

# view contents for all subbasins as dyGraph
dyplots <- rvn_res_dygraph(resdata)
dyplots[[1]]
dyplots[[2]]


rchlumsk/RavenR documentation built on April 19, 2024, 5:15 a.m.