rvn_hyd_dygraph {RavenR} | R Documentation |
Read in Raven Hydrograph file
Description
rvn_hyd_dygraph plots modeled vs observed hydrographs when supplied with hydrograph data
structure read using rvn_hyd_read
Usage
rvn_hyd_dygraph(
hy,
timezone = "UTC",
basins = "",
main = NULL,
figheight = 400
)
Arguments
hy |
hydrograph data structure generated by |
timezone |
data timezone; defaults to UTC |
basins |
list of subbasin names from hydrograph file. Each subbasin creates separate dygraph plots |
main |
dygraph title to override the default (applied to all dygraphs) |
figheight |
height of figure, in pixels |
Value
a list of plot handles to dygraph plots
Examples
# read in RavenR sample hydrographs data
hy <- rvn_hydrograph_data
# view contents for subbasin 36 as dyGraph
dyplots <- rvn_hyd_dygraph(hy,basins="Sub36")
dyplots
rvn_hyd_dygraph(hy,basins="Sub36", main="test title")
# view contents for all basins in hydrograph data
rvn_hyd_dygraph(hy)
[Package RavenR version 2.2.2 Index]