smacof (version 1.8-13)

biplotmds: MDS Biplots

Description

Regresses external variables on a MDS configuration which results in a MDS biplot.

Usage

"biplotmds"(object, extvar, scale = TRUE) "plot"(x, plot.dim = c(1,2), sphere = TRUE, col = 1, label.conf = list(label = TRUE, pos = 3, col = 1, cex = 0.8), vec.conf = list(col = 1, cex = 0.8, length = 0.1), identify = FALSE, type = "p", pch = 20, asp = 1, main, xlab, ylab, xlim, ylim, ...)

Arguments

object
Object of class "smacof" or "smacofID"
extvar
Data frame with external variables
scale
If TRUE, external variables are standardized internally
x
Object of class "mdsbi"
plot.dim
Vector with dimensions to be plotted.
main
Plot title.
xlab
Label of x-axis.
ylab
Label of y-axis.
xlim
Scale x-axis.
ylim
Scale y-axis.
pch
Plot symbol.
asp
Aspect ratio.
col
Point color.
type
What type of plot should be drawn.
sphere
In case of spherical smacof, whether sphere should be plotted or not.
label.conf
List with arguments for plotting the labels of the configurations in a configuration plot (logical value whether to plot labels or not, label position, label color).
vec.conf
List with arguments for arrows and arrow labels of the external variables.
identify
If TRUE, the identify() function is called internally that allows to add configuration labels by mouse click.
...
Further plot arguments passed: see plot for detailed information.

Value

Returns an object belonging to classes "mlm" and "mdsbi". See lm for details.
R2vec
Vector containing the single R2 values.

Details

If a model for individual differences is provided, the external variables are regressed on the group stimulus space configurations.

References

Greenacre, M. (2010). Biplots in Practice. Fundacion BBVA, Bilbao, Spain

Examples

Run this code
## morsecode data with external scales
res <- mds(morse)
fitbi <- biplotmds(res, morsescales[,2:3])
plot(fitbi, main = "MDS Biplot")

Run the code above in your browser using DataLab