plotRandtest: Plot result of observed indices values against null...

View source: R/allfunctions_cati.R

plotRandtestR 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)

cati documentation built on March 18, 2022, 5:43 p.m.

Related to plotRandtest in cati...