mosaicplot.Shannonci {MCPAN} | R Documentation |
Create a mosaicplot from objects of class Shannonci or Simpsonci
## S3 method for class 'Shannonci': mosaicplot(x, decreasing = NULL, ...) ## S3 method for class 'Simpsonci': mosaicplot(x, decreasing = NULL, ...)
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 |
This function uses the counts in [["sample.estimate"]][["table"]]
to produce a mosaicplot.
A plot.
data(HCD) HCDFam <- HCD[,-1] SCI<-Simpsonci(X=HCDFam, f=HCD[,1]) mosaicplot(SCI, decreasing=TRUE, col=rainbow(n=8))