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? Thanks in advance, -- Anne Skoeries
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 guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
Thanks, that helped! -- Anne Skoeries Am 05.02.2010 um 10:40 schrieb Patrick Burns:> summary(c(the.matrix)) > > should work for you. Or perhaps more telling: > > summary(as.vector(the.matrix)) > > On 05/02/2010 09:33, Anne Skoeries wrote: >> 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? >> >> 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. >> > > -- > Patrick Burns > pburns at pburns.seanet.com > http://www.burns-stat.com > (home of 'The R Inferno' and 'A Guide for the Unwilling S User')