results_habitat_association: results_habitat_association

Description Usage Arguments Details Value References See Also Examples

View source: R/results_habitat_association.R

Description

Results habitat association

Usage

1
2
3
4
5
6
results_habitat_association(
  pattern,
  raster,
  significance_level = 0.05,
  verbose = TRUE
)

Arguments

pattern

Point pattern or list with reconstructed patterns.

raster

RasterLayer or list of RasterLayers.

significance_level

Significance level

verbose

Print output

Details

The functions shows significant habitat associations by comparing the number of points within a habitat between the observed data and randomized data as described in Plotkin et al. (2000) and Harms et al. (2001). Significant positive or associations are present if the observed count in a habitat is above or below a certain threshold of the randomized count, respectively.

Value

data.frame

References

Harms, K. E., Condit, R., Hubbell, S. P., & Foster, R. B. (2001). Habitat associations of trees and shrubs in a 50-ha neotropical forest plot. Journal of Ecology, 89(6), 947-959.

Plotkin, J. B., Potts, M. D., Leslie, N., Manokaran, N., LaFrankie, J. V., & Ashton, P. S. (2000). Species-area curves, spatial aggregation, and habitat specialization in tropical forests. Journal of Theoretical Biology, 207(1), 81-99.

See Also

randomize_raster
translate_raster
reconstruct_pattern_homo
reconstruct_pattern_hetero
reconstruct_pattern_cluster

Examples

1
2
3
landscape_classified <- classify_habitats(landscape, classes = 5)
species_a_random <- fit_point_process(species_a, n_random = 199)
results_habitat_association(pattern = species_a_random, raster = landscape_classified)

mhesselbarth/SHAR documentation built on Oct. 17, 2020, 8:58 p.m.