xyplot.runlist {hydromad}R Documentation

Plot results from a set of model runs

Description

Plot results from a set of model runs using Lattice graphics.

Usage

## S3 method for class 'runlist'
xyplot(x, data = NULL, ...,
       all = FALSE, superpose = FALSE,
       x.same = TRUE, y.same = NA, layout = c(1, NA))

## S3 method for class 'runlist'
qqmath(x, data = NULL, ..., all = FALSE,
       residuals = FALSE, superpose = FALSE,
       f.value = ppoints(100), tails.n = 100, type = "l",
       auto.key = list(lines = TRUE, points = FALSE))

Arguments

x

a runlist object, which is a list of fitted model objects.

data

ignored.

..., layout, type, auto.key

further arguments are passed on to plotting functions.

all

passed to fitted() and observed().

superpose

to overlay all model result series in one panel.

x.same, y.same

passed to xyplot.list.

residuals

to plot the residual series rather than fitted and observed series.

f.value, tails.n

arguments to panel.qqmath.

Author(s)

Felix Andrews felix@nfrac.org

See Also

runlist, xyplot.ts, xyplot, qqmath

Examples

data(HydroTestData)
mod1 <- hydromad(HydroTestData, sma = "scalar",
                 routing = "expuh", tau_s = 10)
mod2 <- update(mod1, tau_s = 20, tau_q = 5, v_s = 0.5)
mod3 <- update(mod2, loss = 0.5)
mods <-
  runlist(`single store` = mod1,
          `two stores` = mod2,
          loss = mod3)
xyplot(mods, superpose = TRUE)
xyplot(mods, scales = list(y = list(log = TRUE)))
[Package hydromad version 0.9-18 Index]