Learn R Programming

StratPal (version 0.6.0)

perfect_preservation: perfect taphonomic conditions

Description

Models perfect taphonomic conditions. Mainly used as default input to last_occ and range_offset or passed as ctc argument to apply_taphonomy.

Usage

perfect_preservation(x)

Value

A vector of the same length as x with all entries replaced by 1.

Arguments

x

time/stratigraphic position at which the taphonomic conditions are determined

See Also

last_occ(), range_offset(), all_preserved(), and apply_taphonomy()

Examples

Run this code
x = p3(rate = 10, 0, 1) # model fossils
y = apply_taphonomy(x, pres_potential = all_preserved, ctc = perfect_preservation)
all(x == y) # true, all fossils are preserved

Run the code above in your browser using DataLab