profiles | R Documentation |
The base 2 logarithm of the number of trees containing s steps, calculated by scoring a character on each n-leaf tree.
profiles
A list with the structure
profiles[[number of leaves]][[number of tokens]][[tokens in smallest split]]
The list entry returns a named numeric vector; each entry lists
log2(proportion of n-leaf trees with s or fewer steps for this character).
Other profile parsimony functions:
Carter1()
,
PrepareDataProfile()
,
StepInformation()
,
WithOneExtraStep()
data(profiles)
# Load profile for a character of the structure 0 0 0 1 1 1 1 1
profile3.5 <- profiles[[8]][[2]][[3]]
# Number of trees with _s_ or fewer steps on that character
TreeTools::NUnrooted(8) * 2 ^ profile3.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.