correlogram.formula

0th

Percentile

Phylogenetic Correlogram

This function computes a correlogram from taxonomic levels.

Keywords
regression
Usage
correlogram.formula(formula, data = NULL, use = "all.obs")
Details

See the vignette in R: vignette("MoranI").

Value

An object of class correlogram which is a data frame with three columns:obsthe computed Moran's Ip.valuesthe corresponding P-valueslabelsthe names of each levelor an object of class correlogramList containing a list of objects of class correlogram if several variables are given as response in formula.

See Also

plot.correlogram, Moran.I

Aliases
Examples
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)
Documentation reproduced from package ape, version 3.0-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.