Learn R Programming

fmds (version 0.1.5)

faststress: Fast Stress Function

Description

faststress calculates value for normalized stress with different input parameters. Distances d are optimally scaled.

Usage

faststress(
  lower = NULL,
  delta = NULL,
  data = NULL,
  w = NULL,
  z = NULL,
  d = NULL
)

Value

n.stress normalized stress value

Arguments

lower

an n x (n - 1 ) / 2 vector containing lower triangular part of dissimilarity matrix.

delta

an n by n square hollow matrix containing dissimilarities.

data

an n by m multivariate data matrix.

w

an identical sized matrix containing non-negative weights (all ones when omitted).

z

n by p matrix with coordinates.

d

distances between the rows of z, an n by n square hollow matrix containing Euclidean distances.

Author

Frank M.T.A. Busing