dist_decay_quadrats {mobsim}R Documentation

Distance decay of similarity with user-defined quadrats

Description

Estimate pairwise similarities of communities in quadrats as function of distance. The function allows the user to compute distance decay between the quadrats of his/her choice.

Usage

dist_decay_quadrats(samples, method = "bray", binary = FALSE)

Arguments

samples

A list given by sample_quadrats

method

Choice of (dis)similarity index. See vegdist

binary

Perform presence/absence standardization before analysis? See vegdist

Value

Object of class dist_decay: a dataframe with distances between subplot pairs and the respective similarity indices.

Examples

sim_com1 <- sim_thomas_community(100, 10000, sigma = 0.1, mother_points = 2)
oldpar<- par(mfrow=c(1,2))
samples <- sample_quadrats(sim_com1, avoid_overlap = TRUE, quadrat_area=.005,
                           n_quadrats = 50, plot = TRUE)
dd_quadrats <- dist_decay_quadrats(samples)
plot(dd_quadrats)
par(oldpar)


[Package mobsim version 0.3.1 Index]