get_PHDistCorrelation: Correlation between pairwise distances of associated hosts...

View source: R/stats.R

get_PHDistCorrelationR Documentation

Correlation between pairwise distances of associated hosts and parasites.

Description

Calculating the correlation between the distance matrixes of parasites and their associated hosts

Usage

get_PHDistCorrelation(cophy, minSurvivors = 5)

Arguments

cophy

a cophylogeny (object of class "cophylogeny") containing one host and one parasite tree.

minSurvivors

the minimum number of surviving parasites needed for the correlation to be calculated. The default is set to 5.

Examples

cop<-rcophylo(tmax=5)
get_PHDistCorrelation(cophy=cop)

JanEngelstaedter/cophy documentation built on Nov. 7, 2023, 9:37 a.m.