search for: undestarstand

Displaying 1 result from an estimated 1 matches for "undestarstand".

Did you mean: undesrstand
2008 May 09
1
Rescaling a column in a matrix based on a certain rows
Hi, Let say I have this matrix: > mat<-matrix(cbind(rnorm(20),rnorm(20)), ncol = 2) And I want to rescale values of column [,1] and [,2] using values from row 1 to 5, such that the values of row 1:5 should be rescale to the same amplitude (kinda like take the z-score of population from row 1:5). column 1 and 2 are two different samples need to be compared. I hope I made myself clear