MCPAN (version 1.1-21)

mosaicdiv: 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

Value

A plot.

Details

This function uses the counts in [["sample.estimate"]][["table"]] to produce a mosaicplot.

Examples

Run this code
# NOT RUN {
data(HCD)

HCDFam <- HCD[,-1]

SCI<-Simpsonci(X=HCDFam, f=HCD[,1])

mosaicdiv(SCI, decreasing=TRUE, col=rainbow(n=8))

# }

Run the code above in your browser using DataLab