Learn R Programming

akmedoids (version 0.1.1)

alphaLabel: Numerics ids to alphabetical ids

Description

Function to transform a list of numeric ids to alphabetic ids

Usage

alphaLabel(x)

Arguments

x

A vector of numeric ids

Value

A vector of alphabetical ids.

Details

Given a vector of numeric cluster ids, `alphaLabel` converts each id to its corresponding alphabets. It combines alphabets for ids greater than 26.

Examples

Run this code
# NOT RUN {
ids <- sample(1:100, 10, replace=FALSE)
ids_alphab <- alphaLabel(ids)
# }

Run the code above in your browser using DataLab