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).
Usage
aspect_ratio(sp)
Arguments
sp
A character value containing the species name
Value
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))
# }# NOT RUN {# }