R: Character information content

CharacterInformation {TreeTools} | R Documentation

## Character information content

### Description

`CharacterInformation()` calculates the phylogenetic information content of a given character.

### Usage

    CharacterInformation(tokens)

### Arguments

`tokens` | Character vector specifying the tokens assigned to each taxon for a character. Example: `c(0, 0, 0, 1, 1, 1, '?', '-')`. Note that ambiguous tokens such as `(01)` are not supported, and should be replaced with `?`.

### Value

`CharacterInformation()` returns a numeric specifying the phylogenetic information content of the character (sensu Steel & Penny 2006), in bits.

### Author(s)

Martin R. Smith (martin.smith@durham.ac.uk)

### References

- Steel MA, Penny D (2006). “Maximum parsimony and the phylogenetic information in multistate characters.” In Parsimony, Phylogeny, and Genomics, 163–178. Oxford University Press.

### See Also

Other split information functions: `SplitInformation()`, `SplitMatchProbability()`, `TreesMatchingSplit()`, `UnrootedTreesMatchingSplit()`

[Package TreeTools version 1.4.1 Index]