is_quasi_ext {metafolio}R Documentation

Return whether there was an instance of quasi extinction

Description

Return whether there was an instance of quasi extinction

Usage

is_quasi_ext(x, thresh, duration = 1)

Arguments

x

A numeric vector.

thresh

The quasi-extinction threshold in absolute numbers.

duration

The number of years below the threshold before a quasi extinction has occurred.

Examples

x <- seq(100, 0, length.out = 20)
is_quasi_ext(x, thresh = 10)

[Package metafolio version 0.1.0 Index]