% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unsupervised-mds.R
\name{tidy_mds_smacof}
\alias{tidy_mds_smacof}
\title{SMACOF MDS (Metric or Non-metric)}
\usage{
tidy_mds_smacof(dist_mat, ndim = 2, type = "ratio", ...)
}
\arguments{
\item{dist_mat}{A distance matrix (dist object)}

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

\item{type}{Character; "ratio" for metric, "ordinal"
for non-metric (default: "ratio")}

\item{...}{Additional arguments passed to smacof::mds()}
}
\value{
A list of class \code{"tidy_mds"} containing:
\itemize{
\item config: tibble of MDS coordinates
\item stress: stress value from the SMACOF algorithm
\item method: character string describing the MDS type
\item model: the \code{\link[smacof]{mds}} result
}
}
\description{
Performs MDS using SMACOF algorithm from the smacof package
}
\examples{
\donttest{
d <- dist(USArrests)
mds <- tidy_mds_smacof(d, type = "ratio")
}

}
