Learn R Programming

mobsim (version 0.3.2)

plot.dist_decay: Plot distance decay of similarity

Description

Plot distance decay of similarity

Usage

# S3 method for dist_decay
plot(x, ...)

Value

This function is called for its side effects and has no return value.

Arguments

x

Dataframe generated by dist_decay

...

Additional graphical parameters used in graphics::plot.default

Details

The function plots the similarity indices between all pairs of subplots as function of distance. To indicate the relationship a stats::loess smoother is added to the plot.

Examples

Run this code
sim_com1 <- sim_thomas_community(100, 10000)
dd1 <- dist_decay(sim_com1)
plot(dd1)

Run the code above in your browser using DataLab