Re: [R] Function to standardize matriz?

2009-07-31 Thread Sam
Subject: [R] Function to standardize matriz? Hi, this is probably a very basic question but I'm just learning R and i cannot find  a function to standardize a data matrix.. I'll be grateful for any tips or help you can provide me. Thank you very much

[R] Function to standardize matriz?

2009-07-29 Thread Sam
Hi, this is probably a very basic question but I'm just learning R and i cannot find a function to standardize a data matrix.. I'll be grateful for any tips or help you can provide me. Thank you very much! __ R-help@r-project.org mailing list

Re: [R] Function to standardize matriz?

2009-07-29 Thread Bill.Venables
July 2009 2:52 PM To: r-help@r-project.org Subject: [R] Function to standardize matriz? Hi, this is probably a very basic question but I'm just learning R and i cannot find a function to standardize a data matrix.. I'll be grateful for any tips or help you can provide me. Thank you very much

Re: [R] Function to standardize matriz?

2009-07-29 Thread Linlin Yan
Did you mean this: m - matrix(1:12, 3, 4) m / max(m) [,1] [,2] [,3] [,4] [1,] 0.0833 0.333 0.583 0.833 [2,] 0.1667 0.417 0.667 0.917 [3,] 0.2500 0.500 0.750 1.000 On Thu, Jul 30, 2009 at 12:52 PM,

Re: [R] Function to standardize matriz?

2009-07-29 Thread Jorge Ivan Velez
Dear Samanta, Take a look at ?scale. HTH, Jorge On Thu, Jul 30, 2009 at 12:52 AM, Sam samanta.fernan...@gmail.com wrote: Hi, this is probably a very basic question but I'm just learning R and i cannot find a function to standardize a data matrix.. I'll be grateful for any tips or help