| aspect_ratio | R Documentation |
A function to find aspect ratio of a species on either species or genus level using rfishbase. It returns a data frame containing the aspect ratio and the level at which the aspect ratio was found (species or genus).
aspect_ratio(sp)
sp |
A character value containing the species name |
dataframe with species, aspect ratio and taxonomy level.
## Not run:
library(fishflux)
library(plyr)
aspect_ratio("Lutjanus griseus")
plyr::ldply(lapply(c("Chlorurus spilurus","Zebrasoma scopas"), aspect_ratio))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.