Package: GUILDS 1.4.7

GUILDS: Implementation of Sampling Formulas for the Unified Neutral Model of Biodiversity and Biogeography, with or without Guild Structure

A collection of sampling formulas for the unified neutral model of biogeography and biodiversity. Alongside the sampling formulas, it includes methods to perform maximum likelihood optimization of the sampling formulas, methods to generate data given the neutral model, and methods to estimate the expected species abundance distribution. Sampling formulas included in the GUILDS package are the Etienne Sampling Formula (Etienne 2005), the guild sampling formula, where guilds are assumed to differ in dispersal ability (Janzen et al. 2015), and the guilds sampling formula conditioned on guild size (Janzen et al. 2015).

Authors:Thijs Janzen [aut, cre], Bart Haegeman [ctb], Franck Jabot [ctb], Jerome Chave [ctb]

GUILDS_1.4.7.tar.gz
GUILDS_1.4.7.zip(r-4.7)GUILDS_1.4.7.zip(r-4.6)GUILDS_1.4.7.zip(r-4.5)
GUILDS_1.4.7.tgz(r-4.6-x86_64)GUILDS_1.4.7.tgz(r-4.6-arm64)GUILDS_1.4.7.tgz(r-4.5-x86_64)GUILDS_1.4.7.tgz(r-4.5-arm64)
GUILDS_1.4.7.tar.gz(r-4.7-arm64)GUILDS_1.4.7.tar.gz(r-4.7-x86_64)GUILDS_1.4.7.tar.gz(r-4.6-arm64)GUILDS_1.4.7.tar.gz(r-4.6-x86_64)
GUILDS_1.4.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
GUILDS/json (API)
NEWS

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

Bug tracker:https://github.com/thijsjanzen/guilds/issues

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

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

5.97 score 3 stars 12 packages 16 scripts 1.1k downloads 14 exports 3 dependencies

Last updated from:927e1ca003. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK137
linux-devel-x86_64OK139
source / vignettesOK199
linux-release-arm64OK141
linux-release-x86_64OK123
macos-release-arm64OK106
macos-release-x86_64OK242
macos-oldrel-arm64OK82
macos-oldrel-x86_64OK202
windows-develOK116
windows-releaseOK94
windows-oldrelOK106
wasm-releaseOK106

Exports:calcKDAexpected.SADexpected.SAD.Guildsexpected.SAD.Guilds.Conditionalgenerate.ESFgenerate.Guildsgenerate.Guilds.CondlogLikelihood.ESFlogLikelihood.GuildslogLikelihood.Guilds.ConditionalmaxLikelihood.ESFmaxLikelihood.GuildsmaxLikelihood.Guilds.Conditionalpreston_plot

Dependencies:nloptrpracmaRcpp

Walkthrough

Rendered fromWalkthrough.Rmdusingknitr::rmarkdownon Jun 03 2026.

Last update: 2025-03-11
Started: 2025-03-11

Readme and manuals

Help Manual

Help pageTopics
Package implementing the Guilds sampling formula for the Neutral Theory of BiodiversityGUILDS-package GUILDS
Calculate the expected species abundance distribution of the standard neutral model, given theta, m and Jexpected.SAD
Estimate the expected species abundance distribution of both guilds using the guilds model, provided theta, alpha_x, alpha_y and J.expected.SAD.Guilds
Estimate the expected species abundance distribution of both guilds using the guilds model, provided theta, alpha_x, alpha_y, conditional on the size of guild X, Jx and the size of guild Y, Jy.expected.SAD.Guilds.Conditional
Generate community data under the standard neutral model of biodiversity, using the urn scheme as described in Etienne 2005generate.ESF
Generate Artificial data under the GUILDS modelgenerate.Guilds
Generate Artificial data under the GUILDS model, conditioned on Guild sizegenerate.Guilds.Cond
Likelihood of the Etienne sampling formulalogLikelihood.ESF
Likelihood of the Guilds sampling formulalogLikelihood.Guilds
Likelihood of the Guilds sampling formula, conditional on guild sizelogLikelihood.Guilds.Conditional
Maximization of the loglikelihood given the standard Neutral Model, using the Etienne Sampling FormulamaxLikelihood.ESF
Maximization of the loglikelihood under the Guilds Model.maxLikelihood.Guilds
Maximization of the loglikelihood under the Guilds Model, conditioned on guild size.maxLikelihood.Guilds.Conditional
Barplot in Preston style of an abundance datasetpreston_plot