?rbind<br><br><div class="gmail_quote">2011/8/12 Clayton Santos Delfino <span dir="ltr"><<a href="mailto:csd@arandanet.com.br">csd@arandanet.com.br</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<u></u>



<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Olá pessoal, bom dia.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Estou precisando agora juntar dois data-frames combinando as 
linhas baseadas em uma coluna.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Os data frames tem exatamente o mesmo número de linhas e 
colunas, o que mudam são os valores</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">conforme mostrado abaixo</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Novamente, agradeço a ajuda de todos.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Clayton</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><span lang="">
<p>Data frame 1</p></span>
<table dir="ltr" border="1" cellspacing="1" cellpadding="0" width="642">
  <tbody>
  <tr>
    <td width="8%"><span lang="">
      <p>ID</p></span></td>
    <td width="8%"><span lang="">
      <p>CO </p></span></td>
    <td width="8%"><span lang="">
      <p>ES </p></span></td>
    <td width="8%"><span lang="">
      <p>GSP </p></span></td>
    <td width="8%"><span lang="">
      <p>ISP </p></span></td>
    <td width="8%"><span lang="">
      <p>MG </p></span></td>
    <td width="8%"><span lang="">
      <p>N </p></span></td>
    <td width="8%"><span lang="">
      <p>NE </p></span></td>
    <td width="8%"><span lang="">
      <p>PR </p></span></td>
    <td width="8%"><span lang="">
      <p>RJ </p></span></td>
    <td width="8%"><span lang="">
      <p>RS</p></span></td>
    <td width="8%"><span lang="">
      <p>SC</p></span></td></tr>
  <tr>
    <td width="8%"><span lang="">
      <p>A</p></span></td>
    <td width="8%"><span lang="">
      <p>8</p></span></td>
    <td width="8%"><span lang="">
      <p>8</p></span></td>
    <td width="8%"><span lang="">
      <p>20</p></span></td>
    <td width="8%"><span lang="">
      <p>35</p></span></td>
    <td width="8%"><span lang="">
      <p>11</p></span></td>
    <td width="8%"><span lang="">
      <p>3</p></span></td>
    <td width="8%"><span lang="">
      <p>7</p></span></td>
    <td width="8%"><span lang="">
      <p>30</p></span></td>
    <td width="8%"><span lang="">
      <p>6</p></span></td>
    <td width="8%"><span lang="">
      <p>24</p></span></td>
    <td width="8%"><span lang="">
      <p>18</p></span></td></tr>
  <tr>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td></tr></tbody></table><span lang="">
<p>Data frame 2</p></span>
<table dir="ltr" border="1" cellspacing="1" cellpadding="0" width="642">
  <tbody>
  <tr>
    <td width="8%"><span lang="">
      <p>ID</p></span></td>
    <td width="8%"><span lang="">
      <p>CO </p></span></td>
    <td width="8%"><span lang="">
      <p>ES </p></span></td>
    <td width="8%"><span lang="">
      <p>GSP </p></span></td>
    <td width="8%"><span lang="">
      <p>ISP </p></span></td>
    <td width="8%"><span lang="">
      <p>MG </p></span></td>
    <td width="8%"><span lang="">
      <p>N </p></span></td>
    <td width="8%"><span lang="">
      <p>NE </p></span></td>
    <td width="8%"><span lang="">
      <p>PR </p></span></td>
    <td width="8%"><span lang="">
      <p>RJ </p></span></td>
    <td width="8%"><span lang="">
      <p>RS</p></span></td>
    <td width="8%"><span lang="">
      <p>SC</p></span></td></tr>
  <tr>
    <td width="8%"><span lang="">
      <p>A</p></span></td>
    <td width="8%"><span lang="">
      <p>22.86</p></span></td>
    <td width="8%"><span lang="">
      <p>72.73</p></span></td>
    <td width="8%"><span lang="">
      <p>28.57</p></span></td>
    <td width="8%"><span lang="">
      <p>40.70</p></span></td>
    <td width="8%"><span lang="">
      <p>21.15</p></span></td>
    <td width="8%"><span lang="">
      <p>17.65</p></span></td>
    <td width="8%"><span lang="">
      <p>33.33</p></span></td>
    <td width="8%"><span lang="">
      <p>73.17</p></span></td>
    <td width="8%"><span lang="">
      <p>22.22</p></span></td>
    <td width="8%"><span lang="">
      <p>36.36</p></span></td>
    <td width="8%"><span lang="">
      <p>38.30</p></span></td></tr>
  <tr>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td></tr></tbody></table><span lang="">
<p> </p>
<p>Data frame final</p></span>
<table dir="ltr" border="1" cellspacing="1" cellpadding="0" width="642">
  <tbody>
  <tr>
    <td width="8%"><span lang="">
      <p>ID</p></span></td>
    <td width="8%"><span lang="">
      <p>CO </p></span></td>
    <td width="8%"><span lang="">
      <p>ES </p></span></td>
    <td width="8%"><span lang="">
      <p>GSP </p></span></td>
    <td width="8%"><span lang="">
      <p>ISP </p></span></td>
    <td width="8%"><span lang="">
      <p>MG </p></span></td>
    <td width="8%"><span lang="">
      <p>N </p></span></td>
    <td width="8%"><span lang="">
      <p>NE </p></span></td>
    <td width="8%"><span lang="">
      <p>PR </p></span></td>
    <td width="8%"><span lang="">
      <p>RJ </p></span></td>
    <td width="8%"><span lang="">
      <p>RS</p></span></td>
    <td width="8%"><span lang="">
      <p>SC</p></span></td></tr>
  <tr>
    <td width="8%"><span lang="">
      <p>A</p></span></td>
    <td width="8%"><span lang="">
      <p>8</p></span></td>
    <td width="8%"><span lang="">
      <p>8</p></span></td>
    <td width="8%"><span lang="">
      <p>20</p></span></td>
    <td width="8%"><span lang="">
      <p>35</p></span></td>
    <td width="8%"><span lang="">
      <p>11</p></span></td>
    <td width="8%"><span lang="">
      <p>3</p></span></td>
    <td width="8%"><span lang="">
      <p>7</p></span></td>
    <td width="8%"><span lang="">
      <p>30</p></span></td>
    <td width="8%"><span lang="">
      <p>6</p></span></td>
    <td width="8%"><span lang="">
      <p>24</p></span></td>
    <td width="8%"><span lang="">
      <p>18</p></span></td></tr>
  <tr>
    <td width="8%"> </td>
    <td width="8%"><span lang="">
      <p>22.86</p></span></td>
    <td width="8%"><span lang="">
      <p>72.73</p></span></td>
    <td width="8%"><span lang="">
      <p>28.57</p></span></td>
    <td width="8%"><span lang="">
      <p>40.70</p></span></td>
    <td width="8%"><span lang="">
      <p>21.15</p></span></td>
    <td width="8%"><span lang="">
      <p>17.65</p></span></td>
    <td width="8%"><span lang="">
      <p>33.33</p></span></td>
    <td width="8%"><span lang="">
      <p>73.17</p></span></td>
    <td width="8%"><span lang="">
      <p>22.22</p></span></td>
    <td width="8%"><span lang="">
      <p>36.36</p></span></td>
    <td width="8%"><span lang="">
      <p>38.30</p></span></td></tr>
  <tr>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td>
    <td width="8%"> </td></tr></tbody></table></span></div></div>
<br>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br>