mosaicplot.Shannonci: Mosaicplot for the data in Shannonci and Simpsonci

Description Usage Arguments Details Value Examples

Description

Create a mosaicplot from objects of class Shannonci or Simpsonci

Usage

1
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

1
2
3
4
5
6
7
data(HCD)

HCDFam <- HCD[,-1]

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

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

MCPAN documentation built on May 1, 2019, 8:04 p.m.