mosaicdiv {MCPAN} | R Documentation |
Mosaicplot for the data in Shannonci and Simpsonci
Description
Create a mosaicplot from objects of class Shannonci or Simpsonci
Usage
mosaicdiv(x, decreasing = NULL, ...)
Arguments
x |
an object of class "Simpsonci" or "Shannonci" as can be obtained from calling Simpsonci or Shannonci |
decreasing |
a single logical value, indicating whether the species should be plotted in the current order (if decreasing=NULL), in decreasing order (if decreasing=TRUE), or in increasing order (if decreasing=FALSE) |
... |
further arguments to be passed to mosaicplot, see ?mosaicplot and ?par for details |
Details
This function uses the counts in [["sample.estimate"]][["table"]] to produce a mosaicplot.
Value
A plot.
Examples
data(HCD)
HCDFam <- HCD[,-1]
SCI<-Simpsonci(X=HCDFam, f=HCD[,1])
mosaicdiv(SCI, decreasing=TRUE, col=rainbow(n=8))
[Package MCPAN version 1.1-21 Index]