View source: R/allfunctions_cati.R
| plotRandtest | R Documentation |
Function to plot result of observed indices values against null distribution.
plotRandtest(x, alternative = "two-sided", ...)
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. |
None; used for the side-effect of producing a plot.
Adrien Taudiere
ComIndex;
ComIndexMulti;
Tstats;
as.listofindex;
plot.listofindex
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.