Learn R Programming

picante (version 0.7-1)

pic.circular: 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)

Value

  • Vector of contrasts for trait x on phylogeny phy

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.