.github/README.md

siplab - Spatial Individual-Plant Simulation

An R platform for computing competition indices and experimenting with spatially explicit individual-based vegetation models.

influence

Current stable siplab version 1.6 on CRAN: https://cran.r-project.org/package=siplab

Installation

Install the stable version from CRAN: install.packages("siplab")\ or with the RStudio menus: Tools > Install Packages... > siplab

For testing the bleeding-edge development version from here use devtools::install_github("ogarciav/siplab")

Quick demo

Computing Hegyi's competition index:

hegyi <- pairwise(spruces, maxR=6, kernel=powers_ker,
    kerpar=list(pi=1, pj=1, pr=1, smark=1))
head(marks(hegyi))

Areas of Brown's APAs (aka Dirichlet cells or Voronoi polygons):

trees <- spruces
marks(trees) <- 100
apa <- assimilation(trees)
summary(marks(apa))

Vignettes

  1. [Computing Hegyi’s (and other) Competition Indices.]https://cran.r-project.org/web/packages/siplab/vignettes/cindex.pdf
  2. [A Gentle Guide to Fully Spatial Models.]https://cran.r-project.org/web/packages/siplab/vignettes/gentle.pdf

References



ogarciav/siplab documentation built on March 31, 2022, 9:48 a.m.