plotprocesses: Plot simulated process paths

Description Usage Arguments Author(s) Examples

View source: R/poisson.R

Description

Plot a matrix of simulated process paths

Usage

1
2
3
plotprocesses(x, y = NULL, xlab = "t (years)", ylab = "N", type = "l", 
                      lty = 2, col = "cadetblue3", xlim = c(0, 1.1 * max(x)), 
                      lwd = 0.5, add = F, ...)

Arguments

x

matrix of process paths

y

variable for y axis, index of x if NULL

xlab

Label for x-axis

ylab

Label for y-axis

type

Type of plot for simulated processes paths

lty

Line type for simulated processes paths

col

Colour for simulated processes paths

xlim

The range for the x-axis

lwd

Line-width for simulated processes paths

add

TRUE to add to existing plot; FALSE to start afresh

...

Additional arguments affecting the plot

Author(s)

Kristian Brock - Author, Daniel Slade - Contributor

Examples

1
2
scen = hpp.scenario(rate = 5, num.events = 20, num.sims = 100)
plotprocesses(scen@x, main='My HPP paths')

Example output



poisson documentation built on May 2, 2019, 6:53 a.m.