Learn R Programming

PHYLOGR (version 1.0.11)

plot.phylog.cancor: Plot a phylog.cancor object

Description

Plots histogram of the canonical correlations for simulated data as returned from a phylog.cancor object; with vertical bars indicates the values from the original (''real'') data (the one with sim.counter=0), and in parenthesis their 'correlation-wise' p-value (see summary.phylog.cancor).

Usage

# S3 method for phylog.cancor
plot(x, ...)

Arguments

x

an object of class phylog.cancor returned from a previous call to cancor.phylog.

...

other parameters to be passed to through to plotting functions (currently not used).

WARNING

These histograms are in the spirit of the 'correlation-wise' p-values returned from summary.phylog.cancor; see Details for summary.phylog.cancor.

References

Diaz-Uriarte, R., and Garland, T., Jr., in prep. PHYLOGR: an R package for the analysis of comparative data via Monte Carlo simulations and generalized least squares approaches.

See Also

cancor.phylog, summary.phylog.cancor

Examples

Run this code
# NOT RUN {
data(SimulExample)
ex1.cancor <- cancor.phylog(SimulExample[,c(1,2,3,4,5)],SimulExample[,c(1,2,6,7,8)])
ex1.cancor
summary(ex1.cancor)
par(mfrow=c(1,3))
plot(ex1.cancor)
# }

Run the code above in your browser using DataLab