toptenGen | R Documentation |
It produces a CSV file listing the top ten most diverse genera of any target botanical family of flowering plants at Plants of the World Online (POWO).
toptenGen(family, uri, verbose = TRUE, save = TRUE, dir, filename)
family |
Either one family name or a vector of multiple families that are present in POWO. |
uri |
URI address for each family to be searched in POWO. |
verbose |
Logical, if |
save |
Logical, if |
dir |
Pathway to the computer's directory, where the file will be saved
provided that the argument |
filename |
Name of the output file to be saved. Default is to create a file entitled output. |
Table in .csv format that is saved on disk.
Debora Zuanny & Domingos Cardoso
POWOcodes
## Not run: library(expowo) library(taxize) fam <- c("Araceae", "Lecythidaceae") powocodes <- cbind(family = fam, data.frame(taxize::get_pow(fam))) toptenGen(powocodes$family, powocodes$uri, verbose = TRUE, save = TRUE, dir = "results_toptenGen/", filename = "Araceae_Lecythidaceae") ## Searching for the top ten most diverse genera ## in any or all flowering plant families, by using ## the URI addresses within the POWOcodes data file data(POWOcodes) toptenGen(POWOcodes$family, POWOcodes$uri, verbose = TRUE, save = TRUE, dir = "results_toptenGen/", filename = "toptendiverse_plant_genera") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.