Skip to contents

Determines the number of hiatuses in an age-depth model

Usage

get_hiat_no(x)

Arguments

x

an adm object

Value

An integer, no. of hiatuses in the age-depth model

See also

Examples

my_adm = tp_to_adm(t = 1:4, h = c(1,2,2,3)) # one hiatus
get_hiat_no(my_adm)
#> [1] 1