Many functions will not work properly if there are duplicated ID variables
in a dataset. This function is a convenience function for
.N from the "data.table" package to create an
variable that when used in conjunction with the existing ID variables,
should be unique.
The variables that should be treated as ID variables. Defaults to
The input dataset (as a
data.table) if ID variables are unique, or the input dataset with a new column named "
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.