check_if_legal_table.Rd
check_if_legal_table
check_if_legal_table(table, observation_one, observation_two)
observation_one | a vector of plant functional types, or species |
---|---|
observation_two | anouther vector of plant functional types, or species |
custom_table | a table that either maps two pft's to one anouther or maps custom species codes to bety id codes. In the second case, must be passable to match_species_id. |
boolean
Checks if custom_table: 1. is formated correctly 2. is complete (has all of the species/pft's in both observations) 3. is condense-able (Could be represented as a hierachry)