yearplot | R Documentation |
Plots an xts object splitted in hydrological years
yearplot(
sim,
obs,
NB = NULL,
plot = TRUE,
maxrow = 4,
dev = "dev",
plotfile = NULL,
...
)
sim |
xts object with simulated data from COSERO |
obs |
xts object with observed data from COSERO |
NB |
numeric. Subbasin to be plotted |
plot |
logical. should the results be plotted or returned? |
maxrow |
numeric. Maximum plots in a row |
dev |
characterstring. format of the plot (valid is "dev","pdf","png") |
plotfile |
characterstring. Filename of the plot if dev != "dev" |
... |
additional arguments passed to plot |
An xts object is plotted
Simon Frey
dev.new.file
splityears
# load runoff data
data(runoff)
yearplot(sim = runoff[,2], obs = runoff[,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.