Learn R Programming

StratPal (version 0.6.0)

all_preserved: Indestructible fossils

Description

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

Usage

all_preserved(x)

Value

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

Arguments

x

taphonomic conditions at which the preservation probability is evaluated

See Also

last_occ(), range_offset(), perfect_preservation(), 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