apply(matrix(int,nr=10),2,trbm)
?apply
-----Original Message-----
From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org] On
Behalf Of DAVID ARTETA GARCIA
Sent: Monday, May 05, 2008 8:19 AM
To: r-help_at_r-project.org
Subject: [R] tukey biweight of vector
Dear list,
I have a vector of readings of length 4640
length(int)
[1] 4640
I would like to calculate Tukey´s biweight using the tbrm() function for the first ten values, the next ten values,etc and store it in another vector of length 464. Can anyone help me?
Thanks in advance
David
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.
Archive generated by hypermail 2.2.0, at Mon 05 May 2008 - 17:30:36 GMT.
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.