powered by
blockNorm(X,targetnorm=1)
data.frame
matrix
list
Xscaled
f
blockScale
standardNormalVariate
detrend
X <- matrix(rnorm(100),ncol=10) # Block normalize to sum of square = 1 res <- blockNorm(X,1) sum(res$Xscaled^2) # check
Run the code above in your browser using DataLab