<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div class="" style="">Ola pessoal boa tarde </div><div class="" style=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Estou tentando fazer o gráfico do odds de acordo com a tabela abaixo.</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
 sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class="">var<span class="" style="white-space:pre">     </span>         or<span class="" style="white-space:pre">   <span class="" style="white-space:pre">       </span>   </span>lcl<span class="" style="white-space:pre">                  </span>ucl</div><div style="background-color: transparent;" class="">A       <span class="" style="white-space:pre">  </span>1.552<span class="" style="white-space:pre">     </span>1.401<span class="" style="white-space:pre">     </span>1.719</div><div style="background-color: transparent;" class="">B<span class="" style="white-space:pre">         </span>1.789<span class="" style="white-space:pre">     </span>1.491<span class="" style="white-space:pre">     </span>2.146</div><div style="background-color: transparent;" class="">C<span class="" style="white-space:pre"> </span> <span
 class="" style="white-space:pre">       </span>1.561<span class="" style="white-space:pre">     </span>1.287<span class="" style="white-space:pre">     </span>1.893</div><div style="background-color: transparent;" class="">D<span class="" style="white-space:pre">         </span>1.432<span class="" style="white-space:pre">     </span>1.237<span class="" style="white-space:pre">     </span>1.658</div><div style="background-color: transparent;" class="">E<span class="" style="white-space:pre"> </span> <span class="" style="white-space:pre"> </span>1.259<span class="" style="white-space:pre">     </span>1.025<span class="" style="white-space:pre">     </span>1.548</div><div style="background-color: transparent;" class="">F<span class="" style="white-space:pre">         </span>1.363<span class="" style="white-space:pre">     </span>1.112<span class="" style="white-space:pre">     </span>1.671</div><div style="background-color: transparent;" class="">G<span class="" style="white-space:pre">         </span>1.554<span
 class="" style="white-space:pre">       </span>1.258<span class="" style="white-space:pre">     </span>1.920</div><div style="background-color: transparent;" class="">H<span class="" style="white-space:pre">         </span>2.157<span class="" style="white-space:pre">     </span>1.756<span class="" style="white-space:pre">     </span>2.651</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
 sans-serif; font-style: normal; background-color: transparent;" class="">com o seguinte comando.</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class="">dat <- read.table("tabela1.txt", header = T)</div><div style="background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class="">ggplot(dat, aes(x = variaveis, y = or, ymin = lcl, ymax = ucl))+ ylab("Odds ratio & 95% CI") + geom_hline(aes(yintercept = 1)) + scale_color_discrete(name = "Lag") + xlab("")</div><div style="background-color: transparent;" class="">Erro em as.environment(where) : 'where' faltante</div><div
 class="" style=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class="">Ele  da o erro acima, o que eu faço?</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style:
 normal; background-color: transparent;" class="">abraços</div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class=""><br class="" style=""></div><div
 style="color: rgb(0, 0, 0); font-size: 13.333333969116211px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;" class=""><br class="" style=""></div><div style="background-color: transparent;" class=""><br class="" style=""></div></div></body></html>