[R] calculating standard deviation and variance
David Freedman
3.14david at gmail.com
Tue Mar 3 14:17:12 CET 2009
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.
More information about the R-help
mailing list