condense_labs: Re-assign labels by condensing to 1 to k

View source: R/init_clust.R

condense_labsR Documentation

Re-assign labels by condensing to 1 to k

Description

Re-assign labels by condensing to 1 to k

Usage

condense_labs(labs)

Arguments

labs

Vector of labels.

Value

Vector of labels in which the numeric values are contiguous.


marcalva/diem documentation built on Jan. 1, 2023, 2:33 a.m.