View source: R/custom-general14.R
patterns | R Documentation |
Generate a reduced dataset consisting of unique phyletic patterns
patterns(x)
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. |
w |
Counts of unique phyletic patterns. |
databp_red |
Reduced data set corresponding to w. |
names |
Column names of x. |
Utkarsh J. Dang and G. Brian Golding
See also estimaterates
.
data(simdata1)
uniq_patt <- patterns(simdata1$data)
print(uniq_patt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.