[R] Matrix- create mean/min/max/stdev on column of matrix or rows?
William Revelle
lists at revelle.net
Sat Sep 18 06:55:25 CEST 2010
to get mean, sd, min, max, trimmed mean, median,
se, skew, and kurtosis of a matrix or data
frame, try
describe in the psych package.
At 10:41 PM -0300 9/17/10, Henrique Dallazuanna wrote:
>Content-Type: text/plain
>Content-Disposition: inline
>Content-length: 659
>
>Try this:
>
>apply(m, 1, summary) # 1 or 2
>
>On Fri, Sep 17, 2010 at 1:08 PM, Halabi, Anan <anan.halabi at hp.com> wrote:
>
>> I made simulation with Weibull and create Matrix,
>> How can I create mean/min/max/stdev on column or rows of matrix?,
>> Thanks,
>>
>> ______________________________________________
>> 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.
>>
>
>
>
>--
>Henrique Dallazuanna
>Curitiba-Paraná-Brasil
>25° 25' 40" S 49° 16' 22" O
>
> [[alternative HTML version deleted]]
>
>
>______________________________________________
>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