View source: R/print.costMatrix.r
print.costMatrix | R Documentation |
Displays a compact summary of a costMatrix object.
## S3 method for class 'costMatrix'
print(x, ...)
x |
An object of class |
... |
Further arguments passed to or from other methods. |
Displays some basic summary information on a costmatrix object.
Nothing is directly returned, instead a text summary describing a "costMatrix"
object is printed to the console.
Graeme T. Lloyd graemetlloyd@gmail.com
# Make an unordered costmatrix:
example_costmatrix <- make_costmatrix(
min_state = 0,
max_state = 2,
character_type = "unordered"
)
# Show print.costMatrix version:
print.costMatrix(x = example_costmatrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.