<div dir="ltr">O gráfico desejado teria quantas barras?<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 14, 2024 at 5:49 PM Amiko Bh por (R-br) <<a href="mailto:r-br@listas.c3sl.ufpr.br">r-br@listas.c3sl.ufpr.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Pessoal:<div>Do df:</div><div><br></div><div>
        
        
        



<table cellspacing="0" border="0" style="font-family:"Liberation Sans";font-size:x-small">
        <colgroup width="111"></colgroup>
        <colgroup width="71"></colgroup>
        <tbody><tr>
                <td height="17" align="center"><b>SEXO</b></td>
                <td align="center"><b>COR</b></td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center">  PRETA</td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">     MASCULINO</td>
                <td align="center"> BRANCA</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="center">  PARDA</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="center">  PRETA</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="center">  PARDA</td>
        </tr>
</tbody></table></div><div><br></div><div>Pretendo obter df2:</div><div><br></div><div>
        
        
        



<table cellspacing="0" border="0" style="font-family:"Liberation Sans";font-size:x-small">
        <colgroup width="111"></colgroup>
        <colgroup width="71"></colgroup>
        <colgroup width="99"></colgroup>
        <tbody><tr>
                <td height="17" align="center"><b>SEXO</b></td>
                <td align="left"><b>COR</b></td>
                <td align="left"><b>QUANTIDADE</b></td>
        </tr>
        <tr>
                <td height="17" align="center">MASCULINO</td>
                <td align="left">PRETA</td>
                <td align="right">1</td>
        </tr>
        <tr>
                <td height="17" align="center">MASCULINO</td>
                <td align="left">PARDA</td>
                <td align="right">6</td>
        </tr>
        <tr>
                <td height="17" align="center">MASCULINO</td>
                <td align="left">BRANCA</td>
                <td align="right">1</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="left">PARDA</td>
                <td align="right">5</td>
        </tr>
        <tr>
                <td height="17" align="center">FEMININO</td>
                <td align="left">PRETA</td>
                <td align="right">1</td>
        </tr>
</tbody></table></div><div><br></div><div>E com o df2 - não sei se consigo diretamente com o df1 - obter um gráfico de barras horizontais.</div><div>Estou apanhando até para conseguir...</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br>
</blockquote></div>