plotRandtest {cati}R Documentation

Plot result of observed indices values against null distribution

Description

Function to plot result of observed indices values against null distribution.

Usage

	plotRandtest(x, alternative = "two-sided", ...)

Arguments

x

An object of class listofindex, ComIndex, ComIndexMulti or Tstats.

alternative

Indicates the alternative hypothesis and must be one of "two.sided", "greater" or "less". You can specify just the initial letter. "greater" corresponds to positive association, "less" to negative association.

...

Any additional arguments are passed to the plot function creating the core of the plot and can be used to adjust the look of resulting graph.

Value

None; used for the side-effect of producing a plot.

Author(s)

Adrien Taudiere

See Also

ComIndex; ComIndexMulti; Tstats; as.listofindex; plot.listofindex

Examples

	data(finch.ind)
	## Not run: 
		res.finch <- Tstats(traits.finch, ind.plot = ind.plot.finch, 
		sp = sp.finch, nperm = 99, print = FALSE)
	
	par(mfrow = c(4,4))
	
	plotRandtest(res.finch)
	plotRandtest(res.finch, alter = "less")
	
## End(Not run)

[Package cati version 0.99.4 Index]