Skip to contents

Retrieves life history traits from FishLife

Usage

get_traits(
  Class = "predictive",
  Order = "predictive",
  Family = "predictive",
  Genus = "predictive",
  Species = "predictive"
)

Arguments

Class

Character input for taxonomic class

Order

Character input for taxonomic class

Family

Character input for taxonomic class

Genus

Character input for taxonomic class

Species

Character input for taxonomic class

verbose

logical where TRUE prints closest match, FALSE does not

Value

a dataframe of mean trait values

Details

This function returns the mean un-logged life history traits for the closest match to the supplied taxonomic information.

Examples

if (FALSE) {
life_traits <- Get_traits(Genus = "Lutjanus", Species = "campechanus")
}