plotMds: Plot of the configuration of Mds

Description Usage Arguments Value Examples

View source: R/plotMds.R

Description

plotMds returns a plot of the configuration resulting from a Multidimensionnal scaling.

Confidence ellipsoids are plotted if a bootstrap approach has been used in the MdsSort() step.

Usage

1
plotMds(ResMds, dim=c(1,2), ellipse=FALSE, proba=0.90, col=NULL)

Arguments

ResMds

ResMds is an object of class SortingMds

dim

Vector of dimensions to be plotted (default is dim=c(1,2))

ellipse

Indicates if ellipsoids have to be plotted (default if ellipse=FALSE)

proba

Probability for plotting ellipses (default is proba=.90)

col

The color to be used for the text, possibly vectors

Value

plot of Mds configuration

Examples

1
2
3
4
  data(AromaSort)
  Aroma<-SortingPartition(AromaSort)
  resMds<-MdsSort(Aroma,ndim=2)
  plotMds(resMds)

Example output

Loading required package: smacof
Loading required package: plotrix
Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.4-4
Loading required package: ellipse

FreeSortR documentation built on May 2, 2019, 2:47 p.m.