Description Usage Arguments Details Value Examples
The function returns estimated trait data for marine species as calculated by the PML trait explorer.
1 | pml_trait_explorer(aphia_id = NULL, stat = "mean")
|
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. |
pml_trait_explorer
takes aphia ids and
returns JSON data of estimated trait values
for the species considered.
a data.frame with a row for each aphia id and in columns the available estimated traits.
1 2 | aphia_id <- c(107552,107381)
pml_trait_explorer(aphia_id = aphia_id, stat = "mean")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.