forward_cost: Returns MDS stress for the forward algorithm as defined in...

Description Usage Arguments Value

View source: R/forward_methods.R

Description

Returns MDS stress for the forward algorithm as defined in equation 8.15 of Borg and Groenen, with all weights (w_i,j) equal to 1 (do not confuse these with the weights on dimensions defined in this package).

Usage

1
forward_cost(low_d, high_d_dist, std = TRUE)

Arguments

low_d

The low_d solution, an n by 2 matrix, the cost of which is to be evaluated.

high_d_dist

The distance matrix, n by n, of the high dimensional data of which we seek a low D approximation.

std

Boolean, should stress be standardized? This is accomplished by dividing stress by the sum of squared high D distance

Value

Nonnegative scalar stress of the configuration


NathanWycoff/mds.methods documentation built on May 23, 2019, 7:32 a.m.