get_order | R Documentation |
Extract order
get_order(x, ...)
## S3 method for class 'numeric'
get_order(x, ...)
## S3 method for class 'character'
get_order(x, name = NULL, ...)
## S3 method for class 'hclust'
get_order(x, ...)
## S3 method for class 'dendrogram'
get_order(x, ...)
## S3 method for class 'dist'
get_order(x, ...)
## S3 method for class 'ggtree'
get_order(x, name = NULL, ...)
x |
any |
... |
ignore. |
name |
old name. |
a numeric vector.
Hou Yun
hc <- hclust(dist(mtcars))
get_order(hc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.