Learn R Programming

dynamichazard (version 1.0.2)

plot.PF_clouds: Plot of Clouds from a PF_clouds Object

Description

Plots mean curve along with quantiles through time for the forward, backward or smoothed clouds.

Usage

# S3 method for PF_clouds
plot(
  x,
  y,
  type = c("smoothed_clouds", "forward_clouds", "backward_clouds"),
  ylim,
  add = FALSE,
  qlvls = c(0.05, 0.5, 0.95),
  pch = 4,
  lty = 1,
  col,
  ...,
  cov_index,
  qtype = c("points", "lines")
)

Value

List with quantile levels and mean curve.

Arguments

x

an object of class PF_clouds.

y

unused.

type

parameter to specify which cloud to plot.

ylim

ylim passed to matplot.

add

TRUE if a new plot should not be made.

qlvls

vector of quantile levels to be plotted.

pch

pch argument for the quantile points.

lty

lty argument for the mean curves.

col

col argument to matplot and matpoints or matlines.

...

unused.

cov_index

indices of the state vector to plot. All are plotted if this argument is omitted.

qtype

character specifying how to show quantiles. Either "points" for crosses or "lines" for dashed lines.