Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.92 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.92 KB

FishLife

Estimate fish traits for all marine fish species globally

DOI

Visualize predictions

A graphical user interface (GUI) is available online

Example usage

Load the package

# Install and load package
devtools::install_github("james-thorson/FishLife")
library( FishLife )

Vignette available

Please see the FishLife vignette for details on how to extract predictions frmo the package, update predictions using new data, or replicate the analysis using a new data set.

vignette("tutorial","FishLife")

Get predictions for a given taxon

I also show a few simple examples of life-history predictions using FishLife, as archived in the package.

# Get basic plot for Lutjanus campechanus (in database, so prediction is informed by species-specific data)
Plot_taxa( Search_species(Genus="Lutjanus",Species="campechanus")$match_taxonomy )

# Get basic plot for Sebastes cortezi (not in database, so uses predictive distribution for genus Sebastes)
Plot_taxa( Search_species(Genus="Sebastes",Species="cortezi")$match_taxonomy )

# Get basic plot for Family Scombridae 
Plot_taxa( Search_species(Family="Scombridae")$match_taxonomy )

Description of package

Please cite if using the software

Further reading

Evaluating accuracy of data and life-history predictions in FishBase