If the function is used without arguments returns the list of habitats used in TAXREF.

rt_habitats(habitat_id = NULL)

Arguments

habitat_id

NULL or integer(1) [default = NULL]
The id of a habitat referenced in TAXREF

Habitats

  • 1 = Marine

  • 2 = Freshwater

  • 3 = Terrestrial

  • 4 = Marine and freshwater

  • 5 = Marine and Terrestrial

  • 6 = Brackish water

  • 7 = Continental (terrestrial and/or freshwater)

  • 8 = Continental (terrestrial and freshwater)

Examples

if (FALSE) rt_habitats(habitat_id = 8)