Takes an age-depth model and vector of stratigraphic positions to determine the corresponding time of formation
get_time(x, h, hiat_mode = "start",
bdry_pts_hiat = "destructive", out_dom_val_t = "default")
numeric vector. Times of deposition of the provided heights in h
an adm or multiadm object
vector of stratigraphic positions
"start", "end", or "destroy". If a stratigraphic position coincides with a hiatus, what should be returned?
"consistent" or "destructive". How are hiatuses at the start/end of the adm treated?
:"default", "time_limits", or a numeric value. What value is returned for heights not covered by the age-depth model?
If a stratigraphic position coincides with a hiatus, should the start time or the end time of the hiatus be returned? Using "destroy" returns NA If the adm starts/ends with a hiatus, should the time returned be consistent with hiat_mode, or should it be NA?