1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/layout.R
\name{layout.mds}
\alias{layout.mds}
\title{Graph layout by multidimensional scaling}
\usage{
layout.mds(graph, dist = NULL, dim = 2, options = arpack_defaults())
}
\arguments{
\item{graph}{The input graph.}
\item{dist}{The distance matrix for the multidimensional scaling. If
\code{NULL} (the default), then the unweighted shortest path matrix is used.}
\item{dim}{\code{layout_with_mds()} supports dimensions up to the number of nodes
minus one, but only if the graph is connected; for unconnected graphs, the
only possible value is 2. This is because \code{merge_coords()} only works in
2D.}
\item{options}{This is currently ignored, as ARPACK is not used any more for
solving the eigenproblem}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}
\code{layout.mds()} was renamed to \code{layout_with_mds()} to create a more
consistent API.
}
\keyword{internal}
|