.split_to_dummy | R Documentation |
data canversion to numeric, dummy variables for multi-level categorical vars
.split_to_dummy(x, sep = NULL)
x |
var to be split and converted to dummy representation |
sep |
separator for strsplit function, if sep=NULL then splitting is ommited |
matrix of dummy vars
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.