Learn R Programming

cati (version 0.8)

plot_randtest: Plot result of observed indices values against null distribution

Description

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

Usage

plot_randtest(x, alter=c("greater", "less", "two-sided"), ...)

Arguments

x
An object of class listofindex, com.index, com.index.multi or Tstats.
alter
An object of class listofindex, com.index, com.index.multi or Tstats.
...
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.

See Also

com.index; com.index.multi; Tstats; as.listofindex; plot.listofindex

Examples

Run this code
data(finch.ind)
	res.finch<-Tstats(traits.finch, ind_plot=ind.plot.finch, 
	sp=sp.finch, nperm=9, print=FALSE)
	
	par(mfrow=c(3,4))
	
	plot_randtest(res.finch)
	plot_randtest(res.finch, alter="two-sided")

Run the code above in your browser using DataLab