Phylogenetic Correlogram
This function computes a correlogram from taxonomic levels.
correlogram.formula(formula, data = NULL, use = "all.obs")
formula |
a formula of the type |
data |
a data frame containing the variables specified in the
formula. If |
use |
a character string specifying how to handle missing
values (i.e., |
See the vignette in R: vignette("MoranI")
.
An object of class correlogram
which is a data frame with three
columns:
obs |
the computed Moran's I |
p.values |
the corresponding P-values |
labels |
the names of each level |
or an object of class correlogramList
containing a list of
objects of class correlogram
if several variables are given as
response in formula
.
Julien Dutheil dutheil@evolbio.mpg.de and Emmanuel Paradis
data(carnivora) ### Using the formula interface: co <- correlogram.formula(SW ~ Order/SuperFamily/Family/Genus, data=carnivora) co plot(co) ### Several correlograms on the same plot: cos <- correlogram.formula(SW + FW ~ Order/SuperFamily/Family/Genus, data=carnivora) cos plot(cos)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.