View source: R/R04-Data_wrangling.R
camr_make_index | R Documentation |
Creates a numerical index starting from 1 going to the total number of distinct entries for a variable.
camr_make_index(x, ...)
x |
A vector. |
... |
Additional arguments for the camr_missing function. |
A vector of integers starting from 1
indexing the distinct entries in the vector
x
.
Kevin Potter
camr_make_index( rep( LETTERS[1:3], each = 2 ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.