powered by
Performs Min-Max normalization of numerical variables.
minmax( x, columns = NULL, na.rm = FALSE )
a numerical vector, matrix or data.frame.
vector
matrix
data.frame
which columns are going to tranfer for the cases that x is a matrix or a data.frame. Defaults to all columns.
x
a logical value indicating whether NA values in x should be stripped before the computation proceeds.
transformed version of x.
transform, zscore
transform
zscore
# NOT RUN { x = c( 2.3, -1.4, 0, 3.45 ) minmax( x ) # }
Run the code above in your browser using DataLab