Learn R Programming

itraxR (version 1.12.2)

uid_labeller: Generate uids for datasets

Description

Assigns unique identifiers to dataset observations. If there is already a column called uid, that does infact contain unique ids, it simply uses them. Otherwise, it looks for the columns `depth` and `label`, and generates a meaningful identifier by combining them. Otherwise, it simply uses consecutive numbers prefixed by `uid`.

Usage

uid_labeller(dataframe)

Arguments

dataframe

pass the name of a dataframe parsed using "itrax_import()" or "itrax_join()"