Learn R Programming

BAT (version 1.1)

sim.plot: Plots of simulated species spatial distributions.

Description

Plots individuals from artificial communities with given SAD and spatial clustering.

Usage

sim.plot(comm, sad = FALSE, n = 0)

Arguments

comm
artificial community data from function sim.spatial.
sad
boolean indicating if the SAD plot should also be shown. Default is FALSE.
n
number of species to plot simultaneously. Default is the number of species in comm.

Details

Function useful for visualizing the results of sim.spatial.

Examples

Run this code
comm <- sim.spatial(1000, 24)
sim.plot(comm)
sim.plot(comm, sad = TRUE)
sim.plot(comm, n = 9)

Run the code above in your browser using DataLab