panel.Stratiplot {analogue}R Documentation

Panel function for stratigraphic diagrams

Description

A Lattice panel function for drawing individuals panels on stratigraphic diagrams using a range of plot types commonly used within palaeoecology.

Usage

panel.Stratiplot(x, y,
                 type = "l",
                 col,
                 pch = plot.symbol$pch,
                 cex = plot.symbol$cex,
                 col.line = plot.line$col,
                 col.symbol = plot.symbol$col,
                 col.refline = ref.line$col,
                 col.smooth = "red",
                 col.poly = plot.line$col,
                 lty = plot.line$lty,
                 lwd = plot.line$lwd,
                 lty.smooth = plot.line$lty,
                 lwd.smooth = 2,
                 fill = plot.symbol$fill,
                 ...)

Arguments

x, y variables defining the contents of the panel.
type character vector consisting of one or more of the following: "l", "p", "o", "b", "h", "g", "smooth", and "poly". It type has more than one element, the effects of each component are combined, though note that some elements will over-plot, and hence obscure, earlier elements.
For types "l", "p", "o", "b" and "g" the standard Lattice interpretation is observed. See panel.xyplot for further details. Note that type "b" is the same as type "o".
"g" adds a reference grid using panel.grid in the background.
For "h", histogram-like bars are plotted from the y-axis, not from the x-axis with plot and panel.loess.
For "smooth" a loess fit is added to each panel using panel.Loess.
For "poly", a shaded polygon, or silhouette, is drawn for each panel.
col, col.line, col.symbol, col.poly, col.refline, col.smooth colour parameters. For all but col.smooth, default colours are obtained from plot.symbol and plot.line using trellis.par.get. col.refline controls the colour of the reference line drawn at value 0 on the x-axis.
pch, cex, lty, lwd, fill other graphical parameters, defaults for which are obtained from plot.symbol and plot.line using trellis.par.get.
lty.smooth line type for the loess smoother. The default is obtained from plot.line using trellis.par.get.
lwd.smooth The line width for the loess smoother.
... extra arguments passed on to the underlying panel functions; panel.points, panel.lines, panel.segments, panel.polygon, panel.Loess and panel.refline.

Details

Creates stratigraphic scatter plots of x and y, with various modifications possible via the type argument.

Note that all the arguments controlling the display can be supplied directly to a high-level call of the function Stratiplot.

Author(s)

Gavin L. Simpson

See Also

Stratiplot, panel.Loess, panel.xyplot.


[Package analogue version 0.6-6 Index]