Learn R Programming

mobsim (version 0.3.2)

plot.community: Plot spatial community object

Description

Plot positions and species identities of all individuals in a community object.

Usage

# S3 method for community
plot(x, ..., col = NULL, pch = NULL)

Value

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

Arguments

x

Community object

...

Other parameters to graphics::plot

col

Colour vector to mark species identities

pch

Plotting character to mark species identities. pch 16 is advised for large datasets

Examples

Run this code
sim1 <- sim_thomas_community(30, 500)
plot(sim1)

Run the code above in your browser using DataLab