plot.pre_paleoTS: plot pre-paleoTS objects

View source: R/plot.pre_paleoTS.R

plot.pre_paleoTSR Documentation

plot pre-paleoTS objects

Description

This functions throws an error on purpose, as pre_paleoTS objects can not be plotted directly. To plot them, first use reduce_to_paleoTS and use plot on the results

Usage

## S3 method for class 'pre_paleoTS'
plot(x, ...)

Arguments

x

object

...

other arguments

See Also

reduce_to_paleoTS()

Examples

## Not run: 
x = stasis_sl(1:4)
# throws error
plot(x)
library("paleoTS")
# correct way to plot pre-paleoTS objects
y = reduce_to_paleoTs(x)
plot(y)
# this plots via the procedures of the paleoTS package (which must be installed and loaded)

## End(Not run)


StratPal documentation built on April 3, 2025, 8:54 p.m.