
takes a cluster-range of integers and reassigns them based on their frequency
Source:R/helper.R
reassign_integers_by_frequency.Rd
For a input clus = c(1,1,1,2,2,3,3,3,3)
, returns clus = c(2,2,2,3,3,1,1,1,1)
.
R/helper.R
reassign_integers_by_frequency.Rd
For a input clus = c(1,1,1,2,2,3,3,3,3)
, returns clus = c(2,2,2,3,3,1,1,1,1)
.