Arguments
d
A nxn dissimilarity matrix. If NULL, then x, a nxp data matrix, must be input instead.
y
A n-vector of binary labels, in the form of 1's and 2's. For instance, c(1,1,1,2,2) could be input if D is a 5x5 matrix.
alpha
A scalar between 0 and 1. If alpha=0 then this is just least squares MDS, and if alpha=1 then it's completely supervised.
S
The number of dimensions of the configuration points z1,...,zn. Must be at least equal to 1.
x
A nxp data matrix, to be input only if D is NULL.
nstarts
The supervised MDS algorithm finds a local minimum for the objective. Here, specify the number of initial values to try. If nstarts>1 then the set of configuration
points corresponding to the optimal (smallest) value of the objective will be reported.
silent
Set to TRUE in order to turn off printing output to screen.