<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Olá pessoal, </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>tem como substituir os valores NA por 999 diretamente no banco e salvar? E fazer o inverso tb, substituir 999 por NA?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span
 style="background-color: transparent;">Tentei a função recode e não deu certo</span><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color: transparent;"><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="background-color: transparent;">Usei ifelse e due certo, porém, cria novo vetor. Gostaria de substituir nomesmo vetor do banco.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span style="font-size: 12pt;">renddomd<-ifelse(rendadomexcp==999999999999,NA,rendadomexcp)</span></div>

<span lang="EN-US" style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";
mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA">cor<-cbind(cor,renddomd)</span><div><font face="Calibri, sans-serif"><span style="font-size: 15px; line-height: 17px;"><br></span></font></div><div><font face="Calibri, sans-serif"><span style="font-size: 15px; line-height: 17px;">Atenciosamente,</span></font><span style="font-size: 12pt;"> </span><div style="MARGIN-RIGHT:0px;" dir="ltr" align="left"><font style="color: rgb(67, 67, 67); font-family: garamond, 'new york', times, serif; font-size: 16px;"><b>Luciane Maria Pilotto<br></b>Mestre e Doutoranda em Saúde Bucal Coletiva - FO/UFRGS</font></div><div style="MARGIN-RIGHT:0px;" dir="ltr" align="left"><br></div></div></div></body></html>