Learn R Programming

PHYLOGR (version 1.0.11)

plot.phylog.lm: Plot a phylog.lm object

Description

Plots histogram of the the fitted coefficients and F-tests for simulated data as returned from a phylog.lm object; with vertical bars indicates the values from the original (''real'') data (the one with sim.counter=0). For F-values, the number in parenthesis indicates the p-value (see summary.phylog.lm).

Usage

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

Arguments

x

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

...

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

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

lm.phylog, summary.phylog.lm

Examples

Run this code
# NOT RUN {
data(SimulExample)
ex1.lm <- lm.phylog(y ~ x1 + diet, weights=x2, max.num=20, data=SimulExample)
options(digits=5)
plot(ex1.lm)
# }

Run the code above in your browser using DataLab