[R] data normalize issue

uday uday_143_4u at hotmail.com
Thu Apr 5 15:57:51 CEST 2012


http://r.789695.n4.nabble.com/file/n4534914/Rplot01.png 

I have some dataset 

ak[1:3,] 
          [,1]      [,2]      [,3]      [,4]      [,5]      [,6]      [,7]     
[,8]      [,9] 
[1,] 0.3211745 0.4132568 0.5649930 0.6920562 0.7760113 0.8118568 0.8609301
0.9088819 0.9326736 
[2,] 0.3159234 0.4071270 0.5579212 0.6844584 0.7684690 0.8243702 0.8677043
0.8931288 0.9261926 
[3,] 0.3075260 0.3993699 0.5493242 0.6765600 0.7614591 0.8127050 0.8537816
0.8884786 0.9343690 
         [,10] [,11]    [,12] 
[1,] 0.9605178     1 1.003940 
[2,] 0.9647617     1 1.012930 
[3,] 0.9618874     1 1.007103 
dim(ak[1:3,]) 
[1]  3 12 

pre[1:3,] 
         [,1]     [,2]     [,3]     [,4]     [,5]     [,6]     [,7]     [,8]    
[,9]    [,10] 
[1,] 10.34615 52.02116 146.1736 243.2864 347.4150 431.6711 521.4271 629.0045
729.9594 827.8628 
[2,] 10.34615 52.02539 146.3670 244.3871 350.1785 454.6706 546.5499 638.3344
741.9849 842.5700 
[3,] 10.34615 52.02754 146.4656 244.9480 351.5865 457.1768 550.1341 643.0880
748.1114 850.0670 
        [,11]    [,12] 
[1,] 921.5508 956.4445 
[2,] 953.9648 995.8201 
[3,] 951.6384 987.9105 

dim(pre) 3 12 

these are only sample values but when I plot then the length is different
for every single line.( please see attached  figure)
So I would like to normalize these values.
so I should normalize values in above example. 

--
View this message in context: http://r.789695.n4.nabble.com/data-normalize-issue-tp4534914p4534914.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list