Learn R Programming

rfishbase (version 0.2-2)

getEnviroClimateRange: get the Environment, Climate, and Range of a species.

Description

get the Environment, Climate, and Range of a species.

Usage

getEnviroClimateRange(fish.data = NULL, path = NULL)

Arguments

fish.data
the fishbase database fish.data or a subset,
path
to cached copy of fishbase (optional, defaults to copy in package).

Value

  • a list of the values in the Enviroment / Climate / Range data. See https://github.com/ropensci/rfishbase/issues/13

Examples

Run this code
library(rfishbase)
data(fishbase)
out <- getEnviroClimateRange(fish.data[1:3])
cat(out[[1]]) # cat for pretty printing

Run the code above in your browser using DataLab