rank_values_with_clusters: Rank a vector based on clusters

Description Usage Arguments Value Examples

View source: R/common_subtrees.R

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

dendextend documentation built on May 29, 2017, 3:29 p.m.

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