get_order: Extract order

Description Usage Arguments Value Author(s) Examples

View source: R/get-order.R

Description

Extract order

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 'ggtree'
get_order(x, name = NULL, ...)

## S3 method for class 'cor_tbl'
get_order(x, index = "row", name = NULL, ...)

## S3 method for class 'quickcor'
get_order(x, index = "row", name = NULL, ...)

## S3 method for class 'dist'
get_order(x, ...)

Arguments

x

any R object.

...

ignore.

name

old name.

index

one of "row" or "column".

Value

a numeric vector.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei

Examples

1
2

houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.