getCategories: getCategories

View source: R/CodeAndRoll2.R

getCategoriesR Documentation

getCategories

Description

Extract unique entries with a corresponding name.

Usage

getCategories(named_categ_vec)

Arguments

named_categ_vec

A vector of categories with names. "Uniqueness" in the vector and its name should be the same!!!

Examples

getCategories(c("A" = 1, "B" = 1, "C" = 2, 3))

vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.