are_trait_state_params: Test if list has trait state parameters

Description Usage Arguments Value Examples

View source: R/create_trait_state_params.R

Description

Test if list has trait state parameters

Usage

1
are_trait_state_params(trait_state_params)

Arguments

trait_state_params

object to be tested if conforms to trait state parameters

Value

Boolean that indicates if list conforms to expected area parameters as created by create_trait_state_params

Examples

1
2
3
4
5
6
7
8
9
testit::assert(DAISIE:::are_trait_state_params(
  create_trait_state_params(
    trans_rate = 0.5,
    immig_rate2 = 0.1,
    ext_rate2 = 0.2,
    ana_rate2 = 0.3,
    clado_rate2 = 0.4,
    trans_rate2 = 0.5,
    M2 = 1000)) == TRUE)

xieshu95/Test-Trasie documentation built on Dec. 18, 2019, 7:34 a.m.