Package: bean 0.2.0

Paanwaris Paansri

bean: Data Thinning of Species Occurrences in Environmental Space

A suite of tools to mitigate sampling bias in species occurrence records by thinning data in the environmental space (E-space). This process can improve the accuracy and precision of species distribution models (SDM, also known as ecological niche models, ENM). The package offers a data-driven protocol to determine thinning parameters using kernel-density bandwidth selection. Two thinning methods are provided (stochastic and deterministic) to reduce over-sampled environmental conditions and down-weight outlier observations. The name 'bean' reflects the core principle of the method: each 'pod' (a grid cell in E-space) is allowed to contain only a limited number of 'beans' (occurrence points). See Silverman (1986, ISBN:978-0-412-24620-3) and Rousseeuw and Leroy (2003, ISBN:978-0-471-48855-2) for the underlying statistical methods.

Authors:Paanwaris Paansri [cre, aut], Luis E. Escobar [aut, ctb]

bean_0.2.0.tar.gz
bean_0.2.0.tar.gz(r-4.7-any)bean_0.2.0.tar.gz(r-4.6-any)
bean_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
bean/json (API)
NEWS

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

Bug tracker:https://github.com/paanwaris/bean/issues

Pkgdown/docs site:https://paanwaris.github.io

Datasets:

On CRAN:

Conda:

3.30 score 6 exports 3 dependencies

Last updated from:1bf9b7e66b. Checks:4 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK169
source / vignettesOK199
linux-release-x86_64OK185
wasm-releaseOK132

Exports:find_env_resolutionfit_ellipsoidplot_beanprepare_beanthin_env_centerthin_env_nd

Dependencies:MASSRcppterra

Data preparation

Rendered fromdata-preparation.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30

Environmental thinning

Rendered fromenvironmental-thinning.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30

Niche modeling

Rendered fromniche-modeling.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30

bean: an overview

Rendered frombean-overview.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30