plot.phylog.prcomp: Plot a phylog.prcomp object

Description Usage Arguments WARNING Author(s) References See Also Examples

View source: R/PHYLOGR.R

Description

Plots histogram of the eigenvalues for simulated data as returned from a phylog.prcomp object; with vertical bars indicates the values from the original (”real”) data (the one with sim.counter=0).

Usage

1
2
## S3 method for class 'phylog.prcomp'
plot(x, ...)

Arguments

x

an object of class phylog.prcomp such as can be obtained from a previous call to prcomp.phylog.

...

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

WARNING

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

Author(s)

Ramon Diaz-Uriarte and Theodore Garland, Jr.

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

prcomp.phylog, summary.phylog.prcomp

Examples

1
2
3
4
data(SimulExample)
ex1.prcomp <- prcomp.phylog(SimulExample[,-11]) # 11th column is a factor
options(digits=5)
plot(ex1.prcomp)

PHYLOGR documentation built on April 14, 2020, 7 p.m.