normalize | R Documentation |
Normalization of a variable:
type==1
: ar
normalized into [0,1]
,
type==2
: ar
is standardized,
otherwise no normalization is done.
normalize(ar, type = 1)
ar |
numeric variable. |
type |
integer: type of normalization (default: |
Normalization of variable: ar<-(ar-min(ar))/(max(ar)-min(ar))
Returns normalized variable.
Jaroslav Myslivec jaroslav.myslivec@upce.cz, Sigbert Klinke sigbert@hu-berlin.de
normalize(iris[,1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.