Learn R Programming

picante (version 1.8.2)

cor.table: Table of correlations and P-values

Description

Table of correlations with associated P-values and df, can be used with regular or independent contrast data

Usage

cor.table(x, cor.method = c("pearson","spearman"),
    cor.type=c("standard","contrast"))

Arguments

x

Data frame of data points or contrasts at nodes

cor.method

Correlation method (as cor)

cor.type

Are data standard or independent contrast values?

Value

r

Correlation values

df

Degrees of freedom

P

P-values

References

Garland, T., Jr., P. H. Harvey, and A. R. Ives. 1992. Procedures for the analysis of comparative data using phylogenetically independent contrasts. Systematic Biology 41:18-32.