megaGen | R Documentation |
Produces a CSV file listing all mega-diverse genera for any plant family at Plants of the World Online (POWO) based on a provided numeric value as the threshold to be considered mega-diverse. Frodin (2004) suggests 500 species as the threshold.
megaGen(family,
thld = 500,
verbose = TRUE,
save = FALSE,
dir = "results_megaGen",
filename = "output")
family |
Either one family name or a vector of multiple families that is present in POWO. |
thld |
A defined threshold of species number for a genus to be considered megadiverse. The default value is 500 based on Frodin (2004). |
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. The default is to create a file entitled output. |
A table with the following fields: family, genus, authors, scientific_name, species_number (counting of species within each genus), kew_id (each genus code within Kew's databases), powo_uri (URI to access each genus in POWO).
Debora Zuanny & Domingos Cardoso
POWOcodes
## Not run:
library(expowo)
megaGen(family = "Cyperaceae",
thld = 500,
save = FALSE,
dir = "results_megaGen",
filename = "Cyperaceae_big_genera")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.