Learn R Programming

cati (version 0.8)

plot_cor.Tstats: Plot the bivariate relationships between T-statistics

Description

Plot the bivariate relationships between the three T-statistics namely T_IP.IC, T_IC.IR and T_PC.PR.

Usage

plot_cor.Tstats(tstats = NULL, val.quant = c(0.025, 0.975), 
	add.text= FALSE, bysite= FALSE, col.obj = NULL, plot.ask = TRUE, 
	multipanel = TRUE, ...)

Arguments

tstats
The list resulting from the function Tstats.
val.quant
Numeric vector of length 2, giving the quantile to calculate confidence interval. By default val.quant=c(0.025,0.975) for a bilateral test with alpha = 5%.
add.text
Logical value; Add text or not.
bysite
Logical value; plot per site or by traits.
col.obj
Vector of colors for object (either traits or sites).
plot.ask
Logical value; Ask for new plot or not.
multipanel
Logical value. If TRUE divides the device to shown several traits graphics in the same device.
...
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

Tstats; plot.Tstats; plot_ses.var

Examples

Run this code
data(finch.ind)
	res.finch<-Tstats(traits.finch, ind_plot=ind.plot.finch, 
	sp=sp.finch, nperm=9)
	
	plot_cor.Tstats(res.finch, bysite = FALSE)
	plot_cor.Tstats(res.finch, bysite = TRUE)

Run the code above in your browser using DataLab