phylo.cor.test: Phylogenetic correlation test using Pearson's product moment

Description Usage Arguments

View source: R/Phylo.cor.test.R

Description

Test for association between paired samples, using the Pearson's product moment correlation coefficient and accounting for the dataset phylogenetic structure

Usage

1
2
phylo.cor.test(x, y, tree, method = c("pcov", "pic"),
  lambda_est = FALSE, quite = FALSE)

Arguments

x, y

numeric vectors of data values. x and y must have the same length

tree

an object of class phylo representing the phylogeny (with branch lengths) to consider

method

pcov to use a phylogenetic trait variance-covariance matrix or pic to use phylogenetically Independent Contrasts

lambda_est

if method is pcov, logical for lambda otpimization using likelihood, if false lambda = 1 ("BM")

quite

logical for function messages


Rekyt/divr documentation built on April 1, 2020, 5:35 a.m.