layout.mds: Graph layout by multidimensional scaling

View source: R/layout.R

layout.mdsR Documentation

Graph layout by multidimensional scaling

Description

[Deprecated]

layout.mds() was renamed to layout_with_mds() to create a more consistent API.

Usage

layout.mds(graph, dist = NULL, dim = 2, options = arpack_defaults())

Arguments

graph

The input graph.

dist

The distance matrix for the multidimensional scaling. If NULL (the default), then the unweighted shortest path matrix is used.

dim

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 merge_coords() only works in 2D.

options

This is currently ignored, as ARPACK is not used any more for solving the eigenproblem


igraph documentation built on Oct. 20, 2024, 1:06 a.m.