Description Usage Arguments Value Examples
View source: R/marinetrophicindex.R
Get MTI as a data frame or chart
1 2 | marinetrophicindex(region, id, chart = FALSE, type = "mean_trophic_level",
transferefficiency = 0.1, ...)
|
region |
(character) region type. one of: eez, lme, rfmo, highseas, fao, eez-bordering, fishing-entity, taxon, or global |
id |
(character/integer/numeric) region id. depends on what
|
chart |
boolean to return a chart versus a data frame
Default: |
type |
MTI data set ("mean_trophic_level", "fib_index", or "rmti") Default: "mean_trophic_level" |
transferefficiency |
float used for FiB index input Default: 0.1 |
... |
curl options passed on to crul::HttpClient |
data frame (or chart) with MTI data
1 2 3 4 5 6 7 | marinetrophicindex(region = "eez", id = 76)
marinetrophicindex("eez", 76, type="fib_index")
marinetrophicindex("eez", 76, type="fib_index", transferefficiency=0.25)
## Not run:
marinetrophicindex("eez", 76, chart=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.