dist_decay: Distance decay of similarity

Description Usage Arguments Value Examples

View source: R/Diversity_Area_Relationships.R

Description

Estimate pairwise similarities of communities in subplots as function of distance

Usage

1
2
3
4
5
6
7
dist_decay(
  comm,
  prop_area = 0.005,
  n_samples = 20,
  method = "bray",
  binary = F
)

Arguments

comm

community object

prop_area

Subplot size as proportion of the total area

n_samples

Number of randomly located subplots

method

Choice of (dis)similarity index. See vegdist

binary

Perform presence/absence standardization before analysis? See vegdist

Value

Dataframe with distances between subplot pairs and the respective similarity indices

Examples

1
2
3
sim_com1 <- sim_thomas_community(100, 10000, sigma = 0.1, mother_points = 2)
dd1 <- dist_decay(sim_com1, prop_area = 0.005, n_samples = 20)
plot(dd1)

MoBiodiv/MoBspatial documentation built on July 24, 2021, 6:09 p.m.