
8 Ago
2011
8 Ago
'11
15:37
Ou, PH <- c(4.5, 4.3) error <- c(0.5,0.2) cidade <- c('Brasília','Itirapina') da <- data.frame(cidade,PH,error) library(ggplot2) limits <- aes(ymax=PH + error, ymin=PH - error) p <- ggplot(da, aes(cidade,PH)) p + geom_bar(fill='blue') + geom_errorbar(limits) Ultimamente estou ficando muito satisfeito com esta library. Para maiores detalhes, http://had.co.nz/ggplot2/ Allaman (S,f,P) Ivan Bezerra Allaman Doutor em Zootecnia/UFLA email e msn - ivanalaman@yahoo.com.br