create_matrix: Create a new character matrix

View source: R/create_matrix.R

create_matrixR Documentation

Create a new character matrix

Description

Create a new discrete or continuous character-taxon matrix.

Usage

create_matrix(data, ...)

Arguments

data

A phyDat or a data.frame object, to create a discrete or continuous character-taxon matrix, respectively.

...

Arguments to be passed on to the R6 class responsible for creating the matrix object. See DiscreteMatrix and ContinuousMatrix for details.

See Also

The new method of DiscreteMatrix and ContinuousMatrix describe optional arguments for matrix creation.


paravian/nitro documentation built on Jan. 17, 2025, 11:21 p.m.