Skip to content
Prev 22283 / 398502 Next

Help massaging big arrays

On Fri, 2 Aug 2002, Philip Rhoades wrote:

            
Call it X
X <- abs(X)
X[X<0.005] <- 0.005
Y<-matrix(ncol=5,nrow=1000)
for(i in 1:5)
    Y[,i] <- rowMeans(X[ ,1:(2^i)])
Y <- Z/Y
colMeans(Y)


	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._