% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unsupervised-mds.R
\name{tidy_mds_classical}
\alias{tidy_mds_classical}
\title{Classical (Metric) MDS}
\usage{
tidy_mds_classical(dist_mat, ndim = 2, add_rownames = TRUE)
}
\arguments{
\item{dist_mat}{A distance matrix (dist object)}

\item{ndim}{Number of dimensions (default: 2)}

\item{add_rownames}{Preserve row names from distance matrix (default: TRUE)}
}
\value{
A list of class \code{"tidy_mds"} containing:
\itemize{
\item config: tibble of MDS coordinates
\item stress: \code{NA} (not applicable for classical MDS)
\item gof: goodness-of-fit (proportion of variance retained)
\item eigenvalues: numeric vector of eigenvalues
\item method: \code{"Classical MDS"}
\item model: the \code{\link[stats]{cmdscale}} result
}
}
\description{
Performs classical multidimensional scaling using cmdscale()
}
\examples{
\donttest{
d <- dist(USArrests)
mds <- tidy_mds_classical(d)
print(mds)
}

}
