Description Usage Arguments Value Author(s)
This function will simply create a number of dummy variable for each of the categories of a previously created categorical variable. The categories and name of each dummy variable will be based on the information specified in the imported excel template.
1 | createDummy(input, n)
|
input |
the list of dataframes based on imported template excel file with information about the variable name, categories and the name of the previuosly defined categorical variable that will be recoded as dummy vairables. |
n |
the number of observation in the synthetic dataet |
a list of dummy variables that is created based on the elements of a previously defined categorical variable.
Levi Waldron and Ragheed Al Dulaimi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.