print.states.matrix: Prints a 'states.matrix' object.

View source: R/NA.utilities.R

print.states.matrixR Documentation

Prints a states.matrix object.

Description

Summarises the content of a states.matrix object.

Usage

## S3 method for class 'states.matrix'
print(x, ...)

Arguments

x

A states.matrix object.

...

further arguments to be passed to print.

Author(s)

Thomas Guillerme

See Also

make.states.matrix.

Examples

## A simple topology
tree <- ape::read.tree(text = "((a,b),(c,d));")

## A simple character
character <- "01?-"

## Create a states matrix for reconstruction
make.states.matrix(tree, character)



TGuillerme/Inapp documentation built on Feb. 4, 2024, 7:26 a.m.