This function extracts a Q-matrix (in the form of an object of class "Qmatrix"
from a fitted Mk model.
as.Qmatrix(x, ...)
# S3 method for fitMk
as.Qmatrix(x, ...)
# S3 method for Qmatrix
plot(x, ...)
# S3 method for Qmatrix
print(x, ...)
fitted Mk model. (For instance, an object of class "fitMk"
.) In the case of print.Qmatrix
, an object of class "Qmatrix"
.
optional arguments.
An object of class "Qmatrix"
.
plot.Qmatrix
invisibly returns the coordinates of vertices of the plotted Q-matrix.
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.