plot.sparse: Create illustrative sparse matrix
Description
This function visualizes a sparse matrix using vertical bands corresponding
to presence or absence of a species in an area.
Usage
# S3 method for sparse
plot(x, col = c("red", "yellow"), lwd = 1, ...)
Value
Returns no value, just plot sparse matrix
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.