Description Usage Arguments Author(s) Examples
mHM_plotQmulti_d
is ploting a comparison of daily river flow data - simulation vs. observation in pdf file.
Additionally GOFs (KGE, NSE) for cross-validation simulations are calculated, if calibration period is given.
1 2 3 4 5 6 | mHM_plotQmulti_d(ts1, ts2, windows = c(start = as.Date("1989-10-01"), end =
as.Date("2008-03-30")), calibTime = c(start = as.Date("2000-01-01"), end =
as.Date("2008-03-30")), validTime = c(start = as.Date("1990-01-01"), end =
as.Date("1999-12-31")), rollsteps = 10, outfile = "out.pdf",
ylims = NULL, cols = c(rgb(1, 0, 0, 0.75), grey.colors(1, 0.2, 0.2, alpha
= 0.75), rgb(0, 0, 1, 0.7)))
|
ts1 |
zoo object, observed and simulated river flow data, as retrived from |
ts2 |
zoo object, observed and simulated river flow data, as retrived from |
windows |
vector of Date objects, defining start and end of series being ploted. |
calibTime |
vector of Date objects, defining start and end of calibration period. |
validTime |
vector of Date objects, defining start and end of validation period. |
rollsteps |
integer width of the rolling window, see |
outfile |
output pdf |
ylims |
numeric vector for y axes limitations, c(min,max) |
cols |
color definition, lenght = 3 |
Johannes Brenner johannes.brenner@ufz.de
1 2 3 4 5 6 7 8 9 10 11 12 13 | data("Qout_mHM")
# devide calibration and validation period
gof <- mHM_plotQ_d(ts = Qout_mHM, windows = c(start=as.Date("1989-10-01"), end=as.Date("2008-03-30")),
calibTime = c(start=as.Date("2000-01-01"), end=as.Date("2008-03-30")),
validTime = c(start=as.Date("1990-01-01"), end=as.Date("1999-12-31"))
rollsteps = 10)
# do not consider calibration/validatio period
gof <- mHM_plotQ_d(ts = Qout_mHM, windows = c(start=as.Date("1989-10-01"), end=as.Date("2008-03-30")),
calibTime = NULL, validTime = NULL,
rollsteps = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.