What about something like this:

#Create dummy data
mydf=data.frame(matrix(rnorm(1000), ncol=100))

#Obtain summary stats

my.vars=apply(mydf, MARGIN=2, FUN=var)
my.std=sqrt(my.vars)

#Plot summary stats
plot(my.vars, col="red")
points(my.std, col="blue")





________________________________
 From: Elli <ellilti_...@hotmail.com>
To: r-help@r-project.org 
Sent: Tuesday, November 20, 2012 1:32 PM
Subject: Re: [R] Deviation standard & variance
 
I have a data set consisting of 364 variables and I need to graph the
standard deviation and variance of each variable as only the function sd ()
or var () is not enough. And I want to know how I can graph this?



--
View this message in context: 
http://r.789695.n4.nabble.com/Deviation-standard-variance-tp4650181p4650198.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.
        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to