powered by
dichotom(data, out = "numeric")
## Dichotomizes 'Music' example data frame data(Music) dic <- dichotom(Music[,1:5]) str(dic) ## with output variables in factor format dic <- dichotom(Music[,1:5], out='factor') str(dic)
Run the code above in your browser using DataLab