MPplotmap: Custom function to draw mds maps. Uses Rcssplot and some hard...

Description Usage Arguments

Description

Custom function to draw mds maps. Uses Rcssplot and some hard settings

Usage

1
2
3
4
MPplotmap(xylayout, color = c(), highlight.points = c(),
  xypadding = 0.05, main = "", legend.separate = FALSE,
  squarexy = TRUE, label = FALSE, Rcss = "default",
  Rcssclass = c(), ...)

Arguments

xylayout

matrix or list. When matrix, should contain two columns x/y for positions of points on 2d map. When list, should contain several matrices as just described.

color

list with names. Should contain vectors of items in xylayout. These items will be plotted with the css style determined by names(color)

highlight.points

vector of rows in the xylayout that will be plotted with the 'highlight' style

xypadding

numeric, determines empty space between points and box

main

character, title for the plot

legend.separate

logical, set TRUE to create a two-panel display. Highlighted configurations will be labeled as A, B, C in main panel, then explained in the second panel.

squarexy

logical, set TRUE to force the scales on x and y axis to be the same (recommended so that euclidean distances on plot correspond to euclidean distances in layout algos)

label

logical, TRUE to print names of points

Rcss

Rcss object

Rcssclass

Rcss class vector

...

arguments passed on to plot (e.g. xlab, ylab)


tkonopka/MultiPattern documentation built on May 31, 2019, 3:45 p.m.