[R] tukey biweight of vector

Bert Gunter gunter.berton at gene.com
Mon May 5 17:24:15 CEST 2008


apply(matrix(int,nr=10),2,trbm)

?apply

-- Bert Gunter
Genentech Nonclinical Statistics

-----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

______________________________________________
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