Skip to contents

Draws paleoecological diagrams from a download_list object. Allows control of variable type (using the tran function from the analogue package), and taxonomic grouping. This function only works for download_list objects that contain a single object.

Usage

# S3 method for download_list
Stratiplot(x, yaxis = "age", method = "none", group = NULL, ...)

Arguments

x

A download_list object.

yaxis

One of the columns in sample.meta, including depth, age, age.younger, or age.older, default age.

method

An option for axis transformation using tran from the analogue package. "none" by default.

group

An ecological group from the taxon table.

...

variables to be passed to Stratiplot.

Value

A trellis object.

Details

A wrapper for the analogue package's Stratiplot function. Allowing the user to plot a stratigraphic diagram directly from a download object.

Examples

if (FALSE) {
lake_o_dl <- get_download(15925)
# This works:
Stratiplot(lake_o_dl)

lakes_o_nw <- get_download(get_site(sitename = "Lake B%"))
# This Fails:
# Stratiplot(lake_o_nw)

}