[R] Normalizing Vector with Negative Numbers

Gundala Viswanath gundalav at gmail.com
Mon Sep 27 02:22:43 CEST 2010


Dear expert,

I have a series of number that looks like this

x <- c(-0.0000005282,
0.0000000314,
0.0000002851,
-2.5059217162,
-0.0000007545,
-1.0317758496,
0.0000001598,
-1.2981735068,
0.0000072411)

How can I normalize it in R so that the new numbers
is ranging from 0 to 1 ?


- G.V.



More information about the R-help mailing list