check_missing_species: Check if a 'missing_species' is valid.

View source: R/check_missing_species.R

check_missing_speciesR Documentation

Check if a missing_species is valid.

Description

Check if a missing_species is valid. Will stop if not

Usage

check_missing_species(missing_species)

Arguments

missing_species

the number of island species that were not sampled for particular clade (only applicable for endemic clades), as can be checked by check_missing_species

Details

A valid missing_species ...

  • is numeric

  • has one element

  • the element has a whole-number value in range ⁠[0, Inf>⁠

Value

nothing

Author(s)

Richèl J.C. Bilderbeek

Examples

check_missing_species(1)

joshwlambert/DAISIEmainland documentation built on July 14, 2024, 5:40 p.m.