[R-br] odds ggplot2

geovane barbosa geovanecb em yahoo.com.br
Segunda Agosto 11 15:26:25 BRT 2014


Ola pessoal boa tarde 


Estou tentando fazer o gráfico do odds de acordo com a tabela abaixo.

var         or lclucl
A       1.5521.4011.719
B1.7891.4912.146
C 1.5611.2871.893
D1.4321.2371.658
E 1.2591.0251.548
F1.3631.1121.671
G1.5541.2581.920
H2.1571.7562.651


com o seguinte comando.


dat <- read.table("tabela1.txt", header = T)

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("")
Erro em as.environment(where) : 'where' faltante


Ele  da o erro acima, o que eu faço?

abraços
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20140811/53df98e3/attachment.html>


Mais detalhes sobre a lista de discussão R-br