is_valid_strata: Assert a Strata object is valid, die on failure

View source: R/strata.R

is_valid_strataR Documentation

Assert a Strata object is valid, die on failure

Description

Assert a Strata object is valid, die on failure

Usage

is_valid_strata(strata, required = NULL, check_focal = TRUE)

Arguments

strata

Strata object

required

A character vector of required data fields

check_focal

logical, if TRUE, then presence of the focal species in the tree is checked


arendsee/phylostratr documentation built on Dec. 31, 2022, 10:22 a.m.