rvn_hyd_dygraph {RavenR} | R Documentation |
rvn_hyd_dygraph plots modeled vs observed hydrographs when supplied with hydrograph data
structure read using rvn_hyd_read
rvn_hyd_dygraph( hy, timezone = "UTC", basins = "", main = NULL, figheight = 400 )
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 |
res a list of plot handles to dygraph plots
# 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)