search for: tp4638134

Displaying 1 result from an estimated 1 matches for "tp4638134".

Did you mean: tp4638124
2012 Jul 27
1
Turn categorical array into matrix with dummy variables
...array (array with factors) into a matrix with dummy variables. like array=c(a,a,b,b,b) should be turned into: a b 1 0 1 0 0 1 0 1 0 1 Do you know any way of doing this? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Turn-categorical-array-into-matrix-with-dummy-variables-tp4638134.html Sent from the R help mailing list archive at Nabble.com.