pic.circular {picante}R Documentation

Phylogenetic independent contrasts for circular data

Description

Computes the phylogenetic independent contrasts for traits with circular distributions

Usage

pic.circular(x, phy, scaled = TRUE, var.contrasts = FALSE)

Arguments

x A vector of class circular, modulo = "2pi" with length equal to length(phy$edge.lable)
phy An object of class phylo
scaled logical, indicates whether the contrasts should be scaled with their expected variance (default to TRUE).
var.contrasts logical, indicates whether the expected variance of the contrasts should be returned (default to FALSE)

Details

If x has names, these are matched to the dataframe, otherwise values are expected to be in the same order and an error is issued.

Value

Vector of contrasts for trait x on phylogeny phy

Author(s)

Peter Cowan <pdc@berkeley.edu> based on the ape package pic function by Emmanuel Paradis


[Package picante version 0.6-1 Index]