[R-br] grafico de barras

Éder Comunello comunello.eder em gmail.com
Segunda Janeiro 27 20:19:36 BRST 2014


Um outro exemplo, dessa vez usando sciplot::bargraph.CI...

### <code r>
dURL <- 'http://www.ualberta.ca/~ahamann/teaching/renr480/Lab5d.zip'
download.file(dURL, basename(dURL), mode='wb')
unzip(basename(dURL),'lentils.csv')
dat <- read.table('lentils.csv', head=T, sep=',')
attach(dat)

require(sciplot)
bargraph.CI(x.factor=FARM, group=VARIETY, response=YIELD, legend=T,
 xlab="Location", ylab="Yield (kg/ha)", ylim=c(0,800),
 cex.names=1, cex.lab=1,
 x.leg=6, y.leg=700, cex.leg=1, leg.lab=c("Var A","Var B","Var C"),
 col=grey.colors(3),
 uc=T, lc=T, err.width=0.1, err.col="black", err.lty=1)
### </code>

Fonte/Source: http://www.ualberta.ca/~ahamann/teaching/renr480/Lab5D.pdf

Éder Comunello <c <comunello.eder em gmail.com>omunello.eder em gmail.com>
Dourados, MS - [22 16.5'S, 54 49'W]
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.inf.ufpr.br/pipermail/r-br/attachments/20140127/f468bc7d/attachment.html>


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