grid.percentiles: Add a grid, with lines along the percentiles or quantiles

Description Usage Arguments Value Author(s) See Also Examples

Description

Add a grid, with lines along the percentiles or quantiles

Usage

1
2
3
4
5
  grid.percentiles(side = 1, max, col = "lightgray",
    lty = "dotted", lwd = par("lwd"), ...)

  grid.quartiles(side = 1, max, col = "lightgray",
    lty = "dotted", lwd = par("lwd"), ...)

Arguments

...

arguments passed to abline and grid.

side

which side to add the axis?

max

the maximum value. can't be missing

col

character or (integer) numeric; color of the grid lines.

lty

character or (integer) numeric; line type of the grid lines.

lwd

non-negative numeric giving line width of the grid lines.

Value

nothing.

Author(s)

Mark Cowley, 2012-07-23

See Also

axis.percentiles

Examples

1
2
3
4
5
6
## Not run: 
plot(1:100, xaxt="n")
axis.percentiles(side=1, max=100)
grid.percentiles(side=1, max=100)

## End(Not run)

drmjc/mjcgraphics documentation built on May 15, 2019, 2:40 p.m.