probabilistic removal of elements from x. For each element, the probability to be preserved is independent and specified by prob
See also
apply_niche()andapply_taphonomy()for functions that use this function for transformation ofpre_paleoTSobjects