Learn R Programming

PHYLOGR (version 1.0.11)

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

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

# S3 method for 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

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

Run this code
# NOT RUN {
data(SimulExample)
ex1.prcomp <- prcomp.phylog(SimulExample[,-11]) # 11th column is a factor
options(digits=5)
plot(ex1.prcomp)
# }

Run the code above in your browser using DataLab