knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) library(tidyverse) library(ppendemic)
This package offers convenient access to a new and extensive database containing a list of r nrow(ppendemic::ppendemic_tab13)
endemic plant species found in Peru. This comprehensive collection provides detailed botanical information, including accepted names, family, authorship, publication details, and the place and date of first publication for each species.
The construction of the ppendemic package is built upon valuable data sourced from the renowned World Checklist of Vascular Plants (WCVP)
database. As a highly authoritative resource, WCVP offers comprehensive information on plant taxonomy and occurrence worldwide. Leveraging this data, the ppendemic
package aims to present an up-to-date and novel compilation of Peru's endemic plant species, tailored to the diverse ecosystems of the region. By incorporating meticulously curated data from WCVP, this package offers users a reliable and accurate resource to explore, analyze, and gain deeper insights into the rich diversity of Peru's endemic flora.
Representing a significant advancement in our understanding of Peru's endemic plant species, the ppendemic
package update the previously known list of 5,507 species presented in the Red Book of Endemic Plants of Peru, bringing the total to an impressive r nrow(ppendemic::ppendemic_tab13)
species. This substantial increase in documented endemic species is a testament to the integration of data and the commitment to presenting the most up-to-date information. With this expanded and current database, researchers, conservationists, and nature enthusiasts alike can now delve into a more comprehensive and accurate account of Peru's unique and diverse plant biodiversity. The ppendemic
package stands as a valuable resource for anyone interested in the study, conservation, and appreciation of Peru's endemic plant life.
The database spans a total of r length(unique(ppendemic::ppendemic_tab13$family ))
families, with particular richness observed in the r names(rev(sort(table(ppendemic::ppendemic_tab13$family))))[1:10]
families, all of which boast the highest number of endemic species in Peru.
library(tidyverse) ppendemic::ppendemic_tab13 |> group_by(family) |> summarise(n_especies = n_distinct(taxon_name)) |> arrange(desc(n_especies)) |> top_n(10) |> ggplot(aes(fct_reorder(family, n_especies, .desc = TRUE), n_especies)) + geom_col() + labs(x = "Families", y = "Number of species") + scale_x_discrete(guide = guide_axis(n.dodge = 2)) + theme_bw()
You can install the ppendemic
package from CRAN using:
install.packages("ppendemic") # or pak::pak("ppendemic")
Also you can install the ppendemic
package from GitHub using the following command:
pak::pak("PaulESantos/ppendemic")
After installing the ppendemic
package, you can load it into your R session using:
library(ppendemic)
is_ppendemic()
to check if taxa are endemicsplist <- c("Aa aurantiaca", "Aa aurantiaaia", "Werneria nubigena", "Dasyphyllum brasiliense var. barnadesioides", "Miconia firma", "Festuca densiflora") is_ppendemic(splist)
is_ppendemic()
function is designed to work seamlessly with tibbles, allowing users to easily analyze and determine the endemic status of species within a tabular format.tibble::tibble(splist = splist) |> dplyr::mutate(endemic = is_ppendemic(splist))
To cite the ppendemic
package, please use:
citation("ppendemic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.