plot.sparse {phyloregion} | R Documentation |
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 class '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
[Package phyloregion version 1.0.8 Index]