testargs: Assert a function argument is of correct type

testargsR Documentation

Assert a function argument is of correct type

Description

Assert a function argument is of correct type

Usage

test_island_comm(comm)

test_comsie_tbl(comsie_tbl)

Arguments

comm

a tibble with one row per individual in the community and three columns:

  • z contains (numeric) traits values

  • species contains species names (characters)

  • ancestral_species contains ancestral species names (characters)

  • founder (characters), the mainland species that this species' clade originates from.

comsie_tbl

a tibble containing the output of a comrad simulation, as produced by run_simulation().

Author(s)

Theo Pannetier


TheoPannetier/comsie documentation built on Nov. 21, 2022, 4:35 p.m.