Description Usage Arguments Details
View source: R/list_to_true_false.R
This is a function to convert categorical data from a single-column format a more usefule dummy-variable format For example, in the single column format data would appear as follows: Months 1 jan mar ... 2 feb mar ... 3 mar ...
1 | List_to_True_False(x, seperator)
|
x |
a col |
seperator |
Using this function the output would be: Jan Feb Mar ... 1 TRUE FALSE TRUE ... 2 FALSE TRUE TRUE ... 3 FALSE FALSE TRUE ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.