Re: [R] Efficient computation of trimmed stats?

2007-05-15 Thread Dimitris Rizopoulos
http://med.kuleuven.be/biostat/ http://www.student.kuleuven.be/~m0390867/dimitris.htm - Original Message - From: "Benilton Carvalho" <[EMAIL PROTECTED]> To: "[EMAIL PROTECTED] server posting" Sent: Monday, May 14, 2007 6:58 PM Subject: [R] Efficient

[R] Efficient computation of trimmed stats?

2007-05-14 Thread Benilton Carvalho
Hi everyone, I was wondering if there is anything already implemented for efficient ("row-wise") computation of group-specific trimmed stats (mean and sd on the trimmed vector) on large matrices. For example: set.seed(1) nc = 300 nr = 25 x = matrix(rnorm(nc*nr), ncol=nc) g = matrix(sampl