gradient_from_data: gradient or taphonomic conditions from data
Description
Constructs a gradient or taphonomic conditions from a dataframe or list. If x is a dataframe, the first two columns are used, if x is a list the first two elements are used. The first entry is used as time/stratigraphic position, and the second as gradient/recovery probability.
Usage
gradient_from_data(x)
Value
a function for usage as gradient or taphonomic conditions, which can be passed to apply_taphonomy or apply_niche