## examples of 'mdsplot'
data(iris)
x <- iris[,1:4]
y <- iris[,5]
mdsplot(x,y, dimen=c(1,2),ep=2)
mdsplot(x,y, dimen=c(2,1),ep=1)
tmp <- mdsplot(x,y, ep=2, conf.level = 0.9)
tmp
## change symbol's color, type and size
mdsplot(x, y, main="IRIS DATA", cex=1.2,
auto.key=list(space="right", col=c("black","blue","red"), cex=1.2),
par.settings = list(superpose.symbol = list(col=c("black","blue","red"),
pch=c(1:3))))
Run the code above in your browser using DataLab