Consegui desta forma, se tiverem alguma sugestão mais direta, é sempre bem vinda: <br><br>rownames(x) = x$SIGLA<br>y = x[,2:11]<br>z = as.matrix(y)<br>w = as.table(z)<br>q = as.data.frame(w)<br>colnames(q) = c("SIGLA","Ano","Freq")<br>
<br><br><br><div class="gmail_quote">2011/5/24 Roberto Pinho <span dir="ltr"><<a href="mailto:robertodepinho@gmail.com">robertodepinho@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Caros, <br><br><br>Uma dúvida básica:<br><br>Eu tenho um data-frame no formato:<br><br><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:'DejaVu Sans Mono';font-size:12px;line-height:16px;text-align:-webkit-left;white-space:pre-wrap"><pre style="font-family:'DejaVu Sans Mono';font-size:12px;outline-style:none;outline-width:initial;outline-color:initial;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;white-space:pre-wrap;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:16px">
$ SIGLA: chr
$ X2000: num
$ X2001: num
$ X2002: num
$ X2003: num
$ X2004: num
$ X2005: num
$ X2006: num
$ X2007: num
$ X2008: num
$ X2009: num</pre></span></span><br>Eu quero colocar os dados no formato :<br><br><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Arial;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="font-family:'DejaVu Sans Mono';font-size:12px;line-height:16px;text-align:-webkit-left;white-space:pre-wrap"><pre style="font-family:'DejaVu Sans Mono';font-size:12px;outline-style:none;outline-width:initial;outline-color:initial;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial;white-space:pre-wrap;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:16px">
$ SIGLA: chr
$ Ano: num ou chr<br>$ Valor: num<br><br> <br></pre></span></span>Desde já obrigado. <br><font color="#888888"><br><br>-- <br>Roberto Pinho<br><a href="mailto:robertodepinho@gmail.com" target="_blank">robertodepinho@gmail.com</a><br>
msn: <a href="mailto:robertopinho@yahoo.com.br" target="_blank">robertopinho@yahoo.com.br</a><br>
Skype: roberto.pinho<br><a href="http://www.ascoisas.com" target="_blank">http://www.ascoisas.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Roberto Pinho<br><a href="mailto:robertodepinho@gmail.com" target="_blank">robertodepinho@gmail.com</a><br>msn: <a href="mailto:robertopinho@yahoo.com.br" target="_blank">robertopinho@yahoo.com.br</a><br>
Skype: roberto.pinho<br><a href="http://www.ascoisas.com" target="_blank">http://www.ascoisas.com</a><br>