grid.prop.plot: Plots proportions

Description Usage Arguments Value Author(s) See Also Examples

View source: R/grid.prop.plot.R

Description

Plots a chart of proportional data (or another continuous variable) through time.

Usage

1
2
grid.prop.plot(x, y = NULL,
               increasing.down = FALSE)

Arguments

x

the matrix of data to be plotted as proportions; each column is a variable; each row is a time (or depth).

y

a vector with length equal to the number of rows in x; if NULL, it will be replaced by 1:nrow(x)

increasing.down

FALSE (default) plots times (depths) increasing up from the bottom to the top of the plot.

Value

Returns invisibly.

Author(s)

Walton Green

See Also

plot.strat.column, rangechart

Examples

1
2
3
xx <- matrix(sample(1:100), ncol = 4)
grid.prop.plot(xx)
grid.prop.plot(xx, c(1:10, 23, 24:35, 40, 42), increasing.down = FALSE)

stratigraph documentation built on May 30, 2017, 12:31 a.m.