rank_values_with_clusters: Rank a vector based on clusters

Description Usage Arguments Value Examples

Description

Rank a vector based on clusters

Usage

1

Arguments

x

numeric vector

ignore0

logical (FALSE). If TRUE, will ignore the 0's in the vector

...

not used

Value

an integer vector with the number of unique values as the number of uniques in the original vector. And the values are ranked from 1 (in the beginning of the vector) to the number of unique clusters.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10


Search within the dendextend package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.