mdsmap {iL04}R Documentation

Plot the results of 3D multidimensional scaling on a topographic map

Description

The result of multidimensional scaling into three dimensions is interpreted as a set of red, green, and blue values, and used to plot a coloured topographic map.

Usage

mdsmap(coo, mds, labels = "dots", cex = 1, seq = 25:1, bwlim = .55, map = NULL,
       xlab = NULL, ylab = NULL, eqrgb = FALSE, ...)

Arguments

coo a dataframe with x- and y-coordinates of locations stored in the first two columns, and names of locations stored as rownames.
mds the result of multidimensional scaling into three dimensions, with names of locations stored as rownames.

The order of the data in arguments coo and mds don't have to be identical. The rownames are used to link the mds data to the proper coordinates.

labels what to use as labels. This is either a word: one of "none" (no labels), "names" (use rownames of argument coo), or "dots" (use dots); or a vector of labels ordered in accordance with the data in argument coo.
cex the size of the labels relative to the default text size.
seq a sequence of decreasing sizes of the area to fill around each location, relative to the default text size.
bwlim a value between 0 and 1, determining the point to switch between white labels and black labels, relative to the background colour interpreted as a grey value between 0 and 1.
map an optional two-column matrix with a set of line segments, used to draw a map. See lines for the use of NA values.
xlab a title for the x axis.
ylab a title for the y axis.
eqrgb equal scaling of rgb values.
... further arguments to the plot function.

Value

None.

References

RuG/L04 - software for dialectometrics and cartography: http://www.let.rug.nl/~kleiweg/L04/

See Also

cccmap, clustermap, linkmap, mean.asp

Examples

data(PA)
data(PA.coo)
data(PA.map)
mds <- MDS(PA, 3)
asp <- mean.asp(PA.map[, 2])
mdsmap(PA.coo[, 1:2], mds, labels = PA.coo$idx,
       main = "Pennsylvania, USA",
       asp = asp, map = PA.map)

[Package iL04 version 1.15 Index]