seqmds.stress

0th

Percentile

Stress measure of multidimensional scaling factors

Computes stress measure of multidimensional scaling data for different number of dimensions of the represented space

Keywords
state sequences, Longitudinal characteristics
Usage
seqmds.stress(seqdist, mds)
Arguments
seqdist

a dissimilarity matrix or a dist object (see dist)

mds

a matrix with coordinates in the represented space (dimension 1 in column 1, dimension 2 in column 2, etc.)

Value

A numerical vector of stress values.

References

Piccarreta R., Lior O. (2010). Exploring sequences: a graphical tool based on multi-dimensional scaling, Journal of the Royal Statistical Society (Series A), Vol. 173(1), 165-184.

Aliases
  • seqmds.stress
Examples
# NOT RUN {
data(trajact)
seqact <- seqdef(trajact)
dissim <- seqdist(seqact, method="HAM")
mds <- cmdscale(dissim, k=20, eig=TRUE)
stress <- seqmds.stress(dissim, mds)
plot(stress, type='l', xlab='number of dimensions', ylab='stress')
# }
Documentation reproduced from package seqhandbook, version 0.1.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.