Learn R Programming

markophylo (version 1.0.9)

patterns: Unique phyletic patterns with counts.

Description

Generate a reduced dataset consisting of unique phyletic patterns

Usage

patterns(x)

Value

w

Counts of unique phyletic patterns.

databp_red

Reduced data set corresponding to w.

names

Column names of x.

Arguments

x

A matrix or data frame of phyletic patterns. Rows represent the discrete character patterns and columns represent the taxa. These data can be numeric or character.

Author

Utkarsh J. Dang and G. Brian Golding

utkarshdang@cunet.carleton.ca

See Also

See also estimaterates.

Examples

Run this code
data(simdata1)
uniq_patt <- patterns(simdata1$data)
print(uniq_patt)

Run the code above in your browser using DataLab