<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Caros amigos, como faço para elimnar os NA´s? Quando li o banco usei a rotina bd[bd==""]<-NA. Não resolveu.<br><span></span></div><div><br><span></span></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><font size="2"><span>> inap$ret_dias<-difftime(inap$dt_ret1, inap$dt_doa1, units = c("days"))<br>> inap$ret_dias<-as.numeric(inap$ret_dias)<br>> tapply(inap$ret_dias,inap$dt_doa_ano,summary)<br>$`2010`<br> Min. 1st Qu. Median Mean 3rd Qu. Max. NA's <br> 1 30 125 167 268 703 10318 <br><br>$`2011`<br> Min. 1st Qu.
Median Mean 3rd Qu. Max. NA's <br> 1 4 35 75 107 23900 11468 <br></span></font></div><div> []'s</div><div>Edson Lira<br>Estatístico<br>Manaus-Amazonas</div></div></body></html>