Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/macroecology/letsR
Tools for data handling and analysis in macroecology
https://github.com/macroecology/letsR
Last synced: about 2 months ago
JSON representation
Tools for data handling and analysis in macroecology
- Host: GitHub
- URL: https://github.com/macroecology/letsR
- Owner: macroecology
- Created: 2014-04-16T16:58:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T18:25:11.000Z (3 months ago)
- Last Synced: 2024-10-04T23:40:09.086Z (3 months ago)
- Language: R
- Homepage: http://brunovilela.github.io/letsR/
- Size: 18.6 MB
- Stars: 28
- Watchers: 16
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- open-sustainable-technology - letsR - Allow users to build presence-absence matrices, the primary analytical tool in macroecology, from species' geographical distributions and merge them with species' traits, conservation information and spatial environmental layers. (Biosphere / Biodiversity Analysis and Metrics)
README
[![R-CMD-check](https://github.com/BrunoVilela/letsR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/BrunoVilela/letsR/actions/workflows/R-CMD-check.yaml)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/letsR)](https://CRAN.R-project.org/package=letsR)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/letsR)]( https://github.com/r-hub/cranlogs.app)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/letsR)]( https://github.com/r-hub/cranlogs.app)
[![Research software impact](http://depsy.org/api/package/cran/letsR/badge.svg)](https://depsy.org/package/r/letsR)# letsR
## The package
The letsR package is being developed to help researchers handle, process, and analyze macroecological data. It aims to integrate these methodological processes into a single software platform for macroecological analyses. The package's main functions allow users to build presence-absence matrices, the primary analytical tool in macroecology, from species' geographical distributions and merge them with species' traits, conservation information and spatial environmental layers. In addition, other packages' functions enable users to summarize and visualize data from presence-absence matrices.
All functions in this package use a prefix and a suffix separated by a dot; the prefix refers to the package's name, and the suffix to the actual function. This nomenclature avoids confusion with potentially similarly-named functions from other R packages.
For instance, the letsR function used to create presence-absence matrices is called `lets.presab` (but see also `lets.presab.birds` and `lets.presab.points`), whereas the one used to add variables to a presence-absence matrix is called `lets.addvar`.
The package's primary functions create and work on a particular S3 object class called `PresenceAbsence`.
Such `PresenceAbsence` object class allows storing information beyond presence-absence data (e.g. user-defined grid-cell system) and using the generic `plot`, `summary` and `print` functions of R.
Also, some package's functions allow the user to input customary R objects (e.g. `vector`, `matrix`, `data.frame`).The letsR package is in continuous development, and suggestions are more than welcome!
We hope you enjoy it and find it helpful.
## Package publication
https://besjournals.onlinelibrary.wiley.com/doi/abs/10.1111/2041-210X.12401## Install
Install `letsR` from CRAN
```coffee
install.packages("letsR")
library("letsR")
```
Install `letsR` developers version from github```coffee
install.packages("devtools")
library(devtools)
install_github("macroecology/letsR")
library(letsR)
```OBS.: To download the developers version you will need to have the git software installed (https://git-scm.com/).
If you are a windows user you will also need to download the Rtools (https://cran.r-project.org/bin/windows/Rtools/).## Note
Due to changes in the IUCN API and limitations in data distribution established by IUCN terms of use, we are no longer maintaining the functions lets.iucn, lets.iucn.hist and lets.iucn.ha. These functions will be removed from the package in the next version. We apologize for any inconvenience this may cause.