powerStressMin: Power Stress SMACOF

Description Usage Arguments Value See Also Examples

Description

An implementation to minimize power stress by minimization-majorization. Usually more accurate but slower than powerStressFast. Uses a repeat loop.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
powerStressMin(
  delta,
  kappa = 1,
  lambda = 1,
  nu = 1,
  weightmat = 1 - diag(nrow(delta)),
  init = NULL,
  ndim = 2,
  acc = 1e-10,
  itmax = 50000,
  verbose = FALSE
)

Arguments

delta

dist object or a symmetric, numeric data.frame or matrix of distances

kappa

power of the transformation of the fitted distances; defaults to 1

lambda

the power of the transformation of the proximities; defaults to 1

nu

the power of the transformation for weightmat; defaults to 1

weightmat

a matrix of finite weights

init

starting configuration

ndim

dimension of the configuration; defaults to 2

acc

numeric accuracy of the iteration

itmax

maximum number of iterations. Default is 50000.

verbose

should iteration output be printed; if > 1 then yes

Value

a smacofP object (inheriting form smacofB, see smacofSym). It is a list with the components

and some additional components

See Also

smacofSym

Examples

1
2
3
4
5
dis<-smacof::kinshipdelta
res<-powerStressMin(as.matrix(dis),kappa=2,lambda=1.5,itmax=1000)
res
summary(res)
plot(res)

cops documentation built on March 24, 2021, 1:06 a.m.