plot.mdsunique {asymmetry}R Documentation

Configuration Plot for mdsunique

Description

Method for a two-dimensional plot of the model. Available rownames are plotted as labels above the points.

Usage

## S3 method for class 'mdsunique'
plot(x, plot.dim = c(1, 2), yplus = 0, xlab, ylab, ...)

Arguments

x

Object of class mdsunique

plot.dim

A vector with dimensions to be plotted

yplus

Parameter to adjust the vertical position of the label

xlab

Label of x-axis.

ylab

Label of y-axis.

...

Further plot arguments: see plot for detailed information.

Examples

## Not run: 
data("studentmigration")
mm<-studentmigration
mm[mm==0]<-.5          # replace zeroes by a small number
mm <- -log(mm/sum(mm)) # convert similarities to dissimilarities
v<-mdsunique(mm,ndim = 2,itmax = 2100,verbose=TRUE, eps = .0000000001)
plot(v, yplus = .3)

## End(Not run)

[Package asymmetry version 2.0.3 Index]