Learn R Programming

smacof (version 2.1-3)

residuals.smacof: Residuals

Description

Computes the residuals by subtracting the configuration dissimilarites from the observed dissimilarities.

Usage

# S3 method for smacof
residuals(object, ...)
# S3 method for smacofR
residuals(object, ...)
# S3 method for smacofID
residuals(object, ...)

Arguments

object

Object of class smacof, smacofR (rectangular), or smacofID (individual differences)

Ignored

Examples

Run this code
# NOT RUN {
res <- mds(kinshipdelta)
residuals(res)

# }

Run the code above in your browser using DataLab