% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bruceR-stats_1_basic.R
\name{scaler}
\alias{scaler}
\title{Min-max scaling (min-max normalization).}
\usage{
scaler(v, min = 0, max = 1)
}
\arguments{
\item{v}{Variable (numeric vector).}

\item{min}{Minimum value (defaults to 0).}

\item{max}{Maximum value (defaults to 1).}
}
\value{
A vector of rescaled variable.
}
\description{
This function resembles \code{\link[bruceR:RESCALE]{RESCALE()}}
and it is just equivalent to \code{RESCALE(var, to=0:1)}.
}
\examples{
scaler(1:5)
# the same: RESCALE(1:5, to=0:1)

}
