This vignette documents the S3 classes defined by the
StratPal
package.
For documentation of functionality, see the help page of individual
functions (available via ?functionname
), for working
examples see the vignettes (available via
browseVignettes("StratPal")
).
S3 class pre_paleoTS
Represents trait values of individual specimens of a lineage sampled
along time or stratigraphic position. For the motivation of this class,
see the vignette on usage with the paleoTS
package via
vignette("paleoTS_functionality")
.
Structure
pre-paleoTS
is a list with two elements:
the first element is named
t
orh
: a numeric vector, corresponding to sampling heights or timesthe second element is named
vals
: a list with the same number of elements as the vectorh
/t
. Each element of the list contains the trait values of specimens sampled at that time/height.
Construction
pre_paleoTS
is constructed by functions to simulate
trait evolution on a specimen level/in pre-paleoTS format. These
functions have suffix _sl
for “specimen level”. This is
stasis_sl
strict_stasis_sl
random_walk_sl
ornstein_uhlenbeck_sl
Modification
pre_paleoTS
can be modified using
apply_niche
apply_taphonomy
time_to_strat
strat_to_time