Power stress minimization by NEWUOA (nloptr)
An implementation to minimize power stress by a derivative-free trust region optimization algorithm (NEWUOA). Much faster than majorizing as used in powerStressMin but perhaps less accurate.
powerStressFast( delta, kappa = 1, lambda = 1, nu = 1, weightmat = 1 - diag(nrow(delta)), init = NULL, ndim = 2, acc = 1e-06, itmax = 10000, verbose = FALSE )
delta
: dist object or a symmetric, numeric data.frame or matrix of distanceskappa
: power of the transformation of the fitted distances; defaults to 1lambda
: the power of the transformation of the proximities; defaults to 1nu
: the power of the transformation for weightmat; defaults to 1weightmat
: a matrix of finite weightsinit
: starting configurationndim
: dimension of the configuration; defaults to 2acc
: The smallest value of the trust region radius that is allowed. If not defined, then 1e-6 will be used.itmax
: maximum number of iterations. Default is 10000.verbose
: should iteration output be printed; if > 1 then yesa 'smacofP' object (inheriting from 'smacofB', see smacofSym
). It is a list with the components
and some additional components
dis<-smacof::kinshipdelta res<-powerStressFast(as.matrix(dis),kappa=2,lambda=1.5) res summary(res) plot(res)
smacofSym
Useful links
Downloads (last 30 days):