shar: Species-Habitat Associations

Analyse species-habitat associations in R. Therefore, information about the location of the species (as a point pattern) is needed together with environmental conditions (as a categorical raster). To test for significance habitat associations, one of the two components is randomized. Methods are mainly based on Plotkin et al. (2000) <doi:10.1006/jtbi.2000.2158> and Harms et al. (2001) <doi:10.1111/j.1365-2745.2001.00615.x>.

Version: 2.3
Depends: R (≥ 3.1.0)
Imports: classInt, graphics, grDevices, methods, spatstat.explore, spatstat.geom, spatstat.model, spatstat.random, stats, terra, utils
Suggests: covr, dplyr, knitr, rmarkdown, spatstat (≥ 2.0-0), testthat (≥ 3.0.0)
Published: 2024-02-14
DOI: 10.32614/CRAN.package.shar
Author: Maximilian H.K. Hesselbarth ORCID iD [aut, cre], Marco Sciaini ORCID iD [aut], Chris Wudel ORCID iD [aut], Zeke Marshall ORCID iD [ctb], Thomas Etherington ORCID iD [ctb], Janosch Heinermann ORCID iD [ctb]
Maintainer: Maximilian H.K. Hesselbarth <mhk.hesselbarth at>
License: GPL (≥ 3)
NeedsCompilation: no
Citation: shar citation info
Materials: NEWS
CRAN checks: shar results


Reference manual: shar.pdf
Vignettes: Get started


Package source: shar_2.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): shar_2.3.tgz, r-oldrel (arm64): shar_2.3.tgz, r-release (x86_64): shar_2.3.tgz, r-oldrel (x86_64): shar_2.3.tgz
Old sources: shar archive


Please use the canonical form to link to this page.