Palaeoecological stratigraphic diagrams

Description

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

1
2
3
## S3 method for class '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.

Details

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

Value

A trellis object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
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)


## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.