TreeDist (version 1.1.1)

NormalizeInfo: Normalize information against total present in both starting trees

Description

Normalize information against total present in both starting trees

Usage

NormalizeInfo(
  unnormalized,
  tree1,
  tree2,
  InfoInTree,
  infoInBoth = NULL,
  how = TRUE,
  Combine = "+",
  ...
)

Arguments

unnormalized

Numeric value to be normalized.

tree1, tree2

Trees from which unnormalized was calculated

InfoInTree

Function to calculate the information content of each tree

infoInBoth

Numeric specifying information content of both trees independently (optional)

how

Method for normalization

Additional parameters to InfoInTree() or how.

Func

Function that takes as inputs tree1Info and tree2Info, and returns a normalizing constant against which to divide unnormalized.