The R package rutils
is a collection of R functions commonly used in
FRB-CESAB projects.
You can install the development version from GitHub with:
# install.packages("remotes")
remotes::install_github("frbcesab/rutils")
Then you can attach the package rutils
:
library("rutils")
-
get_phylopic_image()
: downloads a silhouette from the PhyloPic database using the PhyloPic API 2.x.x -
get_world_basemap()
: downloads a spatial layer of world countries boundaries as defined by the IPBES -
leading_zero()
: adds leading zeros to a vector -
multi_merge()
: combines different matrices by row names and column names by performing a 2-dimension full join -
to_binomial_name()
: corrects species binomial name case -
address_to_coords()
: gets geographic coordinates of any location in the World -
rename_col()
: Rename any columns of a dataframe (from 1 to as much columns as you want) -
signi()
: Produce produces significance symbols for the values of p -
plot_2d_img()
: Plot two variables using images png as points
Visit the wiki to learn how to contribute to this project.
Please cite this package as:
Casajus N. (2023)
rutils
: A collection of R functions commonly used in FRB-CESAB projects. R package version 0.0.0.9000. https://frbcesab.github.io/rutils.
Please note that the rutils
project is released with a Contributor
Code of
Conduct.
By contributing to this project, you agree to abide by its terms.