This function visualizes a sparse matrix using vertical bands corresponding to presence or absence of a species in an area.

# S3 method for sparse
plot(x, col = c("red", "yellow"), lwd = 1, ...)

Arguments

x

A matrix

col

A vector of colors to represent presence or absence of a species

lwd

Line width

...

Further arguments passed to or from other methods.

Value

Returns no value, just plot sparse matrix