pml_trait_explorer: Query the PML trait explorer tool

Description Usage Arguments Details Value Examples

Description

The function returns estimated trait data for marine species as calculated by the PML trait explorer.

Usage

1
pml_trait_explorer(aphia_id = NULL, stat = "mean")

Arguments

aphia_id

is the WoRMS identifier for the species of interest. This can be a single value or multiple values separated by commas.

stat

is the trait statistic to return. Options are 'mean' for the expected value, 'sd' for the standard error, 'distmean' for the location parameter of the probability distribution and 'distsd' for the scale parameter of the probability distribution.

Details

pml_trait_explorer takes aphia ids and returns JSON data of estimated trait values for the species considered.

Value

a data.frame with a row for each aphia id and in columns the available estimated traits.

Examples

1
2
aphia_id <- c(107552,107381)
pml_trait_explorer(aphia_id = aphia_id, stat = "mean")

MarineEcosystemResearchProgramme/merpWS documentation built on May 7, 2019, 2:51 p.m.