Package: letsR 5.0

Bruno Vilela

letsR: Data Handling and Analysis in Macroecology

Handling, processing, and analyzing geographic data on species' distributions and environmental variables. Read Vilela & Villalobos (2015) <doi:10.1111/2041-210X.12401> for details.

Authors:Bruno Vilela [aut, cre], Fabricio Villalobos [aut]

letsR_5.0.tar.gz
letsR_5.0.zip(r-4.5)letsR_5.0.zip(r-4.4)letsR_5.0.zip(r-4.3)
letsR_5.0.tgz(r-4.5-any)letsR_5.0.tgz(r-4.4-any)letsR_5.0.tgz(r-4.3-any)
letsR_5.0.tar.gz(r-4.5-noble)letsR_5.0.tar.gz(r-4.4-noble)
letsR_5.0.tgz(r-4.4-emscripten)letsR_5.0.tgz(r-4.3-emscripten)
letsR.pdf |letsR.html
letsR/json (API)

# Install 'letsR' in R:
install.packages('letsR', repos = c('https://macroecology.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/macroecology/letsr/issues

Pkgdown site:https://brunovilela.github.io

Datasets:
  • IUCN - IUCN evaluation for frogs of the genus Phyllomedusa
  • PAM - PresenceAbsence object for frogs of the genus Phyllomedusa
  • Phyllomedusa - Phyllomedusa
  • prec - Annual Precipitation raster for the world.
  • temp - Mean temperature raster for the world.
  • wrld_simpl - Simplified world country polygons

On CRAN:

Conda:

8.87 score 29 stars 104 scripts 527 downloads 9 mentions 26 exports 17 dependencies

Last updated 3 months agofrom:976ac1fa1a. Checks:3 OK, 2 ERROR, 2 NOTE, 2 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 09 2025
R-4.5-winNOTEMar 09 2025
R-4.5-macNOTEMar 09 2025
R-4.5-linuxERRORMar 09 2025
R-4.4-winOKMar 09 2025
R-4.4-macOKMar 09 2025
R-4.4-linuxERRORMar 09 2025
R-4.3-winWARNINGMar 09 2025
R-4.3-macWARNINGMar 09 2025

Exports:lets.addpolylets.addvarlets.classvarlets.correllets.distmatlets.fieldlets.gridirizerlets.iucnlets.iucn.halets.iucn.hislets.iucncontlets.loadlets.maplizerlets.midpointlets.overlaplets.pamcroplets.presablets.presab.birdslets.presab.gridlets.presab.pointslets.rangesizelets.savelets.shFilterlets.subsetPAMlets.summarizerlets.transf

Dependencies:classclassIntDBIe1071geosphereKernSmoothlatticemagrittrMASSproxyRcpps2sfspterraunitswk

A guide to transform species distributions into a presence absence matrix based on a user-defined grid in R

Rendered fromA-guide-to-transform-species-distributions-into-a-presence-absence-matrix-based.Rmdusingknitr::rmarkdownon Mar 09 2025.

Last update: 2024-10-04
Started: 2023-11-15

Adding variables to a PresenceAbsence object

Rendered fromAdding-variables-to-a-presenceabsence-object.Rmdusingknitr::rmarkdownon Mar 09 2025.

Last update: 2023-11-15
Started: 2023-11-15

Cropping and subseting your presence absence matrix

Rendered fromcropping-and-subseting-your-presence-absence-matrix.Rmdusingknitr::rmarkdownon Mar 09 2025.

Last update: 2023-11-15
Started: 2023-11-15

Mapping species traits: community level analysis

Rendered frommapping-species-traits.Rmdusingknitr::rmarkdownon Mar 09 2025.

Last update: 2023-11-22
Started: 2023-11-15

How to save and load a PresenceAbsence object

Rendered fromsave-load-presenceabsence.Rmdusingknitr::rmarkdownon Mar 09 2025.

Last update: 2023-11-15
Started: 2023-11-15

Macroecological analysis at the species level

Rendered fromspecies-level-macroecological-analysis.Rmdusingknitr::rmarkdownon Mar 09 2025.

Last update: 2025-01-08
Started: 2023-11-15

Readme and manuals

Help Manual

Help pageTopics
Tools for Data Handling and Analysis in Macroecology.letsR-package letsR
IUCN evaluation for frogs of the genus PhyllomedusaIUCN
IUCN evaluation for frogs of the genus PhyllomedusaIUCN
Add polygon coverage to a PresenceAbscence objectlets.addpoly
Add variables (in raster format) to a PresenceAbscence objectlets.addvar
Frequency distribution of a variable within a species' rangelets.classvar
Compute correlogram based on the Moran's I indexlets.correl
Compute a geographic distance matrixlets.distmat
Create species' values based on the species co-occurrence within focal rangeslets.field
Fits a grid into a PresenceAbsence objectlets.gridirizer
Download species' information from the IUCN RedList online database (No longer supported)lets.iucn
Download species' habitat information from the IUCN RedList online database (No longer supported)lets.iucn.ha
Download species' temporal trend in conservation status from the IUCN RedList online database (No longer supported)lets.iucn.his
Transform IUCN RedList conservation status to continuous valueslets.iucncont
Load a PresenceAbsence objectlets.load
Create a matrix summarizing species' attributes within cells of a PresenceAbsence objectlets.maplizer
Compute the midpoint of species' geographic rangeslets.midpoint
Compute pairwise species' geographic overlapslets.overlap
Crop a PresenceAbsence object based on an input shapefilelets.pamcrop
Create a presence-absence matrix of species' geographic ranges within a gridlets.presab
Create a presence-absence matrix of species' geographic ranges within a grid for the Birdlife spatial datalets.presab.birds
Create a presence-absence matrix of species' geographic ranges within a user's grid shapefile (beta version)lets.presab.grid
Create a presence-absence matrix based on species' point occurrenceslets.presab.points
Compute species' geographic range sizeslets.rangesize
Save a PresenceAbsence objectlets.save
Filter species' shapefiles based on its presence, origin, and seasonlets.shFilter
Subset a PresenceAbsence object based on species nameslets.subsetPAM
Summarize variable(s) values in a presence-absence matrix within species' rangeslets.summarizer
Transform values of a vectorlets.transf
PresenceAbsence object for frogs of the genus PhyllomedusaPAM
PhyllomedusaPhyllomedusa
Plot an object of class PresenceAbsenceplot.PresenceAbsence
Annual Precipitation raster for the world.prec
PresenceAbsence ClassPresenceAbsence PresenceAbsence-class
Print for object of class PresenceAbsenceprint.PresenceAbsence
Print summary for object of class PresenceAbsenceprint.summary.PresenceAbsence
Summary for object of class PresenceAbsencesummary.PresenceAbsence
Mean temperature raster for the world.temp
Simplified world country polygonswrld_simpl