Create dump matrix for a vector
dump.it(..., include.name = TRUE)
one vector
logical, default is TRUE, wether to include name of variable
a dump matix contains 0 and 1
# NOT RUN { x=c('a','b','c','a','a') dump.it(x) dump.it(mtcars$am) dump.it(mtcars[,'am']) # }
Run the code above in your browser using DataLab