phylo_signal: Estimates phylogenetic signal on spectra

Description Usage Arguments Value

Description

Estimates phylogenetic signal on spectra

Usage

1
2
phylo_signal(tree, spec, method = c("lambda", "K"), by_band = TRUE,
  se = NULL)

Arguments

tree

A phylogeny of class "phylo"

spec

A matrix with spectral data, where the first column is are species names that match tip names of the tree.

method

Either "lambda" (Pagel's) or "K" (Bloomberg's).

by_band

Boolean. The default TRUE estimates signal for each wavelength independently. If FALSE, signal is estimated for the spectrum as a whole using method = "lambda" ("K" not availiable if by_band = FALSE).

se

Optional. A matrix of spectral standard erros returned by aggregate_by_species'

Value

A two column data.frame with the estimated signal in the first column and a p-value from a significance test in the second column.


bomeara/evolspec documentation built on May 12, 2019, 11:34 p.m.