The gplots package might help. Try: library(gplots) data(state) plotmeans(state.area ~ state.region)
hth, David Freedman johnhj wrote: > > Hiii, > > I have some problems to plot "standard deviation and variance" from a > texfile. > > Ich have the following code so far: > > x <-read.table(file="new.txt") > > x$gruppe <- 100*rep(1:36, each=20) > > png(filename = "D:/Uni/new.png", width = 640, height = 480,pointsize = 12, > bg = "white") > > boxplot(V3 ~ gruppe, data = x, col = "blue",boxwex=0.7,ylab > ="Datenrate(MBit(sec))",xlab = "Zeit(sec)") > > dev.off() > > My question is, how can I plot the standard deviation and variance of > "x$gruppe <- 100*rep(1:36, each=20)" > > Can anybody help me please ? > > greetings, > johnh > -- View this message in context: http://www.nabble.com/calculating-standard-deviation-and-variance-tp22306851p22308419.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.