[R] Odp: total summary of matrix

Petr PIKAL petr.pikal at precheza.cz
Fri Feb 5 10:43:30 CET 2010


Hi

r-help-bounces at r-project.org napsal dne 05.02.2010 10:33:38:

> Hi,
> 
> is there a way to receive a total summary of a numerical matrix?
> I'm trying to get a total overview of numerical matrix. Using 
> summary(nummat) only hands back the Min, 1st Qu, Median, Mean, 3rd Qu 
> and Max for each column. What I actually need is all the Information 
> for the whole matrix. Anyone an idea how to do it?

I presume that the matrix is numeric. So

summary(as.vector(your.matrix))

shall do it.

Regards
Petr


> 
> Thanks in advance,
> --
> Anne Skoeries
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list