<div dir="ltr">Edson,<div><br></div><div>Estou "de passagem" e lendo de forma perfunctória todos os posts, por isso <i>pode ser</i> que o quê vou sugerir seja apenas outro idioma R para o que você postou, mas para eliminar registros de um dataframe que contenha NA o que estou acostumado a ver, já usando o nome do seu, seria:</div><div><br></div><div>
<pre class="gmail-lang-r gmail-prettyprint gmail-prettyprinted" style="margin:0px 0px 1em;padding:5px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;vertical-align:baseline;box-sizing:inherit;width:auto;max-height:600px;overflow:auto;background-color:rgb(239,240,241);display:block;color:rgb(57,51,24);word-wrap:normal;text-align:left;text-decoration-style:initial;text-decoration-color:initial"><code style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;font-size:13px;vertical-align:baseline;box-sizing:inherit;background-color:rgb(239,240,241);white-space:inherit"><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)">> b </span><span class="gmail-pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)"><-</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)"> b</span><span class="gmail-pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)">[!</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)"><a href="http://is.na">is.na</a></span><span class="gmail-pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)">(</span><span class="gmail-pln" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)">b</span><span class="gmail-pun" style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:13px;vertical-align:baseline;box-sizing:inherit;color:rgb(48,51,54)">)]</span></code></pre>
HTH</div><div>--</div><div>Cesar Rabak</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-08-01 16:31 GMT-03:00 Edson Lira via R-br <span dir="ltr"><<a href="mailto:r-br@listas.c3sl.ufpr.br" target="_blank">r-br@listas.c3sl.ufpr.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:times new roman,new york,times,serif;font-size:16px"><div><div><div style="font-size:16px;font-family:"times new roman","new york",times,serif">Boa tarde, a todos, estou com um problema com essa tabela, dentre outras.</div><div style="font-size:16px;font-family:"times new roman","new york",times,serif">Vejam que há 38 observações em branco (seriam NAs). </div><div style="font-size:16px;font-family:"times new roman","new york",times,serif"><br></div><div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2">$DispSecNao</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2"> Qtde Perc</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2"> 38 79.17</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2">DispAcionamento, DispParadaEmergencia, DispInterTrav 1 2.08</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2">DispParadaEmergencia 1 2.08</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2">DispParadaEmergencia, DispInterTrav 7 14.58</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2">DispPartida, DispParadaEmergencia, DispInterTrav 1 2.08</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2">Total 48 100.00</font></div><div style="font-size:16px;font-family:"times new roman","new york",times,serif"><br></div>Usei a rotina abaixo para eliminar os NAs.</div><div><br></div><div><span><div><font size="2" face="courier new, courier, monaco, monospace, sans-serif">b<-read.csv2("C:\\Users\\Edson Lira\\Google Drive\\CONSULTA\\CLAUDIO_<wbr>SILVIO\\banco1.csv")</font></div><div><font size="2" face="courier new, courier, monaco, monospace, sans-serif">b[b==""]<-NA</font></div><div><br></div><div>Para outras tabelas que existem registro em branco, o NA foi eliminado das frequências, exceto na tabela acima. </div><div><br></div><div><br></div><div><br></div><div>Alguém tem alguma sugestão?</div></span><br></div><div><br></div><div>[ ]'s</div><div style="font-size:16px;font-family:"times new roman","new york",times,serif"><br></div><div class="m_2299347115212663281ydp749e8e1dsignature" style="font-size:16px;font-family:"times new roman","new york",times,serif">Prof. Edson Lira, Me <br>Estatístico<br>Manaus-Amazonas</div></div></div></div></div><br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://listas.inf.ufpr.br/<wbr>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-<wbr>guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br></div>