The correlation profile for a given tree and trait values at its tips represents the values of the phylogenetic pair (PP) correlation among PPs stratified patristic distance. This function allows to compare the correlation profile emerging from the original data with correlation profiles emerging from data simulated along the tree according to maximum likelihood fits of the POUMM and PMM methods (all ML-fits found in object$fits).

corrProfile(object, nSim = 100, seed = NA, verbose = FALSE, ...)

Arguments

object

an S3 object of class H2Analysis

nSim

an Integer indicating the number of simulations per ML-fit

seed

optional a seed from the random number generator.

verbose

Logical. Should informative messages be output during the simulations.

...

Additional parameters passed to summary.PP, e.g. tauQuantileType = "D"