LEGACY CONTENT. If you are looking for Voteview.com, PLEASE CLICK HERE

This site is an archived version of Voteview.com archived from University of Georgia on May 23, 2017. This point-in-time capture includes all files publicly linked on Voteview.com at that time. We provide access to this content as a service to ensure that past users of Voteview.com have access to historical files. This content will remain online until at least January 1st, 2018. UCLA provides no warranty or guarantee of access to these files.
smacofRect {smacof}R Documentation

Rectangular smacof

Description

Variant of smacof for rectangular matrices (typically ratings, preferences) which is also known as metric unfolding.

Usage

smacofRect(delta, ndim = 2, circle = c("none","row","column"), weightmat = NULL, 
           init = NULL, verbose = FALSE, itmax = 1000, reg = 1e-6, eps = 1e-6)

Arguments

delta

Data frame or matrix of preferences, ratings, dissimilarities.

ndim

Number of dimensions

circle

If "column", the column configurations are restricted to be on a circle, if "row", row configurations are on a circle, if "none", there are no restrictions on row and column configurations

weightmat

Optional matrix with dissimilarity weights

init

Matrix with starting values for configurations (optional)

verbose

If TRUE, intermediate stress is printed out

itmax

Maximum number of iterations

reg

Regularization factor, prevents distances from being 0

eps

Convergence criterion

Details

Creates an object of class smacofR. The code for the circular restriction was provided by Patrick Groenen.

Value

obsdiss

Observed dissimilarities, corresponds to delta

confdiss

Configuration dissimilarities

conf.row

Matrix of final row configurations

conf.col

Matrix of final column configurations

stress

Final, normalized stress value

spp.row

Stress per point, rows

spp.col

Stress per point, columns

congvec

Vector of congruency coefficients

ndim

Number of dimensions

model

Type of smacof model

niter

Number of iterations

nind

Number of individuals (rows)

nobj

Number of objects (columns)

Author(s)

Jan de Leeuw and Patrick Mair

References

de Leeuw, J. & Mair, P. (2009). Multidimensional scaling using majorization: The R package smacof. Journal of Statistical Software, 31(3), 1-30, http://www.jstatsoft.org/v31/i03/

See Also

smacofConstraint, smacofSym, smacofIndDiff, smacofSphere

Examples

data(breakfast)
res <- smacofRect(breakfast)
res
summary(res)

## various configuration plots
plot(res)
plot(res, type = "p", pch = 25)
plot(res, type = "p", pch = 25, col.columns = 3, 
label.conf.columns = list(label = TRUE, pos = 3, col = 3), 
col.rows = 8, label.conf.rows = list(label = TRUE, pos = 3, col = 8))

plot(res, joint = TRUE)
plot(res, joint = TRUE, type = "p", pch = 25, col.columns = 4, 
label.conf.columns = list(label = TRUE, pos = 3, col = 4), col.rows = 8, 
label.conf.rows = list(label = TRUE, pos = 3, col = 8))

[Package smacof version 1.5-0 Index]