fasterstress: Faster Stress Function

View source: R/fasterstress.R

fasterstressR Documentation

Faster Stress Function

Description

fasterstress calculates stochastic normalized stress. Neither data nor distances based on z are optimally scaled.

Usage

fasterstress(data = NULL, z = NULL, nsamples = 100, samplesize = 30)

Arguments

data

an n by m multivariate data matrix.

z

n by p matrix with coordinates.

nsamples

number of samples

samplesize

sample size

Value

n.stress normalized stress, mean over samples and observations

se standard error of se, standard deviation over samples

Author(s)

Frank M.T.A. Busing

References

agrafiotis, and others, and busing

Examples

n <- 10000
m <- 10
data <- matrix( runif( n * m ), n, m )
p <- 2
zinit <- matrix( runif( n * p ), n, p )
# r <- fastermds( data = data, p = p, z = zinit )
# s <- fasterstress( data = data, z = r )


fmds documentation built on June 8, 2025, 1:34 p.m.

Related to fasterstress in fmds...