Description Usage Arguments Value
View source: R/bpc_helpers_indexes.R
Create a lookup table of names and indexes Note that the indexes will be created in the order they appear. For string this does not make much difference but for numbers the index might be different than the actual number that appears in names
1 | create_index_cluster_lookuptable(d, cluster)
|
d |
A data frame containing the observations. The other parameters specify the name of the columns |
cluster |
A string with the name of the cluster variable |
A dataframe of a lookup table with columns Names and Index
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.