This vignette describes how to integrate the StratPal
package with the FossilSim
and the paleotree
packages.
FossilSim
packageAs is, the StratPal
package handles fossils
objects as constructed by the FossilSim
package. These
objects represent fossils sampled along a tree (phylogeny). They can be
transformed using the functions apply_taphonomy
and
apply_niche
. This will remove fossil occurrences according
to preservation potential and change on taphonomic conditions (or niche
definition and change in gradient). Note that this corresponds to an
nonparametric expansion of the variable recovery model as implemented in
FossilSim
.
For examples see the documentation of the functions
apply_niche
and apply_taphonomy
.
paleotree
To combine the StratPal
package with the
paleotree
package, please convert the
paleotree
format into the FossilSim
format as
described in the paleotree
vignette of the
FossilSim
vignette:
After conversion you can proceed as described in the section
Integration with the FossilSim
package