DiscreteMatrix | R Documentation |
DiscreteMatrix
is an R6 class that contains a discrete character
matrix and functions for modifying character activity and ordering.
nitro::AbstractCharacterMatrix
-> DiscreteMatrix
data_type
The type of discrete character data contained in the matrix.
n_states
The number of unique states contained in the matrix.
symbols
The unique set of discrete characters contained in the matrix.
ordered
A numeric vector indicating which characters to mark as ordered.
new()
DiscreteMatrix$new(data, ordered = NULL, inactive = NULL)
data
A phyDat
discrete character matrix.
ordered
A numeric vector indicating which characters to mark as ordered.
inactive
A numeric vector indicating which characters to mark as inactive.
print()
DiscreteMatrix$print(...)
...
Ignored.
queue()
Generate the command queue
DiscreteMatrix$queue(...)
...
Ignored.
clone()
The objects of this class are cloneable with this method.
DiscreteMatrix$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.