assessment_period: Classify the sample as within or outside an assessment...

Description Usage Arguments Value

View source: R/assessment.R

Description

Classify the sample as within or outside an assessment period.

Usage

1
assessment_period(.date_vec, .n_years_ago = 10)

Arguments

.date_vec

a vector of dates.

.n_years_ago

a single numeric value designating the sampling period (present date minus .n_years_ago).

Value

a logical vector. TRUE indicates that the sample is within the defined assessment period, while FALSE indicates that the sample is outside of the defined assessment period.


BWAM/stayCALM documentation built on May 21, 2020, 3:24 p.m.