<font color="#333333"><font><font face="trebuchet ms,sans-serif">Caros colegas,</font></font></font><div><font color="#333333"><font><font face="trebuchet ms,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="trebuchet ms,sans-serif">estou com a seguinte situação:</font></font></font></div>
<div><font color="#333333"><font><font face="trebuchet ms,sans-serif"><br></font></font></font></div><div><font color="#333333"><font><font face="trebuchet ms,sans-serif"><div>vec <- </div><div>c("001011001110010110000011010100", "101111111011100111110101111101", </div>
<div>"101111111111111110111111111101", "111001100010111000100000101010", </div><div>"100011110011000000100000000000", "110111111010110001111111011111", </div><div>"001000010100010010001010001111", "000011000000000011001001110101", </div>
<div>"011111110101111101111111111111", "110010111111101000010001010000")</div><div>temp <- strsplit(vec,NULL)<br></div><div><div>temp <- do.call(rbind,temp)</div></div><div><br></div><div>no entanto, gostaria de transformar as linhas e colunas do temp para integer. Como fazer isto de forma eficiente? poderia transformar no momento do strsplit?!</div>
<div><br></div><div>Abraços,</div></font></font></font></div>