patterns: Unique phyletic patterns with counts.

View source: R/custom-general14.R

patternsR Documentation

Unique phyletic patterns with counts.

Description

Generate a reduced dataset consisting of unique phyletic patterns

Usage

patterns(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.

Value

w

Counts of unique phyletic patterns.

databp_red

Reduced data set corresponding to w.

names

Column names of x.

Author(s)

Utkarsh J. Dang and G. Brian Golding

utkarshdang@cunet.carleton.ca

See Also

See also estimaterates.

Examples

data(simdata1)
uniq_patt <- patterns(simdata1$data)
print(uniq_patt)

markophylo documentation built on Sept. 19, 2023, 5:06 p.m.