Stratiplot.download_list: Palaeoecological stratigraphic diagrams

View source: R/Stratiplot.download.R

Stratiplot.download_listR Documentation

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

## 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

## 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)

ropensci/neotoma documentation built on Dec. 6, 2022, 6:26 p.m.