powered by
Return whether there was an instance of quasi extinction
is_quasi_ext(x, thresh, duration = 1)
A numeric vector.
The quasi-extinction threshold in absolute numbers.
The number of years below the threshold before a quasi extinction has occurred.
# NOT RUN { x <- seq(100, 0, length.out = 20) is_quasi_ext(x, thresh = 10) # }
Run the code above in your browser using DataLab