Re: [R] resclaing/resampling data

2007-10-19 Thread Jim Lemon
Jim Lemon wrote: > Jan M. Wiener wrote: > >>hello, >>I am trying to rescale a matrix according to one column in the matrix. >>Imagine having two matrices with 2 columns each: >> >>mat1: >>12.1 >>22.2 >>3 2.2 >>4 2.4 >>5 2.7 >>6 2.9 >> >>mat2: >>11.9 >>22.0 >>3 2.1 >

Re: [R] resclaing/resampling data

2007-10-19 Thread Jim Lemon
Jan M. Wiener wrote: > hello, > I am trying to rescale a matrix according to one column in the matrix. > Imagine having two matrices with 2 columns each: > > mat1: > 12.1 > 22.2 > 3 2.2 > 4 2.4 > 5 2.7 > 6 2.9 > > mat2: > 11.9 > 22.0 > 3 2.1 > 4 2.2 > 5 2.4 >

[R] resclaing/resampling data

2007-10-19 Thread Jan M. Wiener
hello, I am trying to rescale a matrix according to one column in the matrix. Imagine having two matrices with 2 columns each: mat1: 12.1 22.2 3 2.2 4 2.4 5 2.7 6 2.9 mat2: 11.9 22.0 3 2.1 4 2.2 5 2.4 6 3.0 7. 2.8 I now want to rescale mat2 such that the