shar (version 1.1)

results_habitat_association: results_habitat_association

Description

Results habitat association

Usage

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

Value

data.frame

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.

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

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataCamp Workspace