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
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
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
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,
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
5 matches
Mail list logo