% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unsupervised-distance.R
\name{standardize_data}
\alias{standardize_data}
\title{Standardize Data}
\usage{
standardize_data(data, center = TRUE, scale = TRUE)
}
\arguments{
\item{data}{A data frame or tibble}

\item{center}{Logical; center variables? (default: TRUE)}

\item{scale}{Logical; scale variables to unit variance? (default: TRUE)}
}
\value{
A tibble with numeric variables centered and/or scaled as specified;
non-numeric columns are returned unchanged.
}
\description{
Center and/or scale numeric variables
}
\examples{
\donttest{
std <- standardize_data(iris[, 1:4])
}

}
