[R] Standard Deviation of a matrix

chakri chakri2sai at yahoo.co.in
Tue Aug 2 13:07:49 CEST 2011


Hello,

My R knowledge could not take me any further, so this request !

I have a matrix of dimensions (1185 X 1185). I want to calculate standard
deviation of entire matrix. 
sd function of {stats} calculates standard deviation for each row/column,
giving 1 X 1185 matrix as result. I would like to have 1 X 1 matrix as
result.

Any ideas, how to do this ?

TIA
Chakri 

--
View this message in context: http://r.789695.n4.nabble.com/Standard-Deviation-of-a-matrix-tp3711991p3711991.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list