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

ppp object with original point pattern data or rd_pat or rd_mar object with randomized point pattern.

raster

RasterLayer with original discrete habitat data or rd_ras object with randomized environmental data.

significance_level

Double with significance level.

verbose

Logical if messages should be printed.

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.

In case the RasterLayer contains NA cells, this needs to be reflected in the observation window of the point pattern as well (i.e., no point locations possible in these areas).

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, 947–959. <https://doi.org/10.1111/j.1365-2745.2001.00615.x>

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, 81–99. <https://doi.org/10.1006/jtbi.2000.2158>

See Also

reconstruct_pattern
fit_point_process

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)

shar documentation built on Jan. 4, 2022, 5:08 p.m.