enumerate_character: Enumerate the unique, sorted values of a column, returned as...

Description Usage Arguments Value

Description

Enumerate the unique and sorted values of a data.table column, and return the result as a list.

Usage

1

Arguments

table

A data.table.

colname

The name of a column in the table. This column should be of class character or factor.

Value

A list with the sorted and unique values of the column; the original values of the column are the list names, and the value for each name is the number for that name (numbering starts at 1).



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.