plot.mdsdd: Plotting scores of multidimensional scaling analysis of...

View source: R/plot.mdsdd.R

plot.mdsddR Documentation

Plotting scores of multidimensional scaling analysis of discrete distributions

Description

Applies to an object of class "mdsdd" (see the details section of the mdsdd function). Plots the scores.

Usage

## S3 method for class 'mdsdd'
plot(x, nscore = c(1, 2), main="MDS of probability density functions",
    sub.title = NULL, color = NULL, fontsize.points = 1.5, ...)

Arguments

x

object of class "mdsdd".

nscore

a length 2 numeric vector. The numbers of the score vectors to be plotted.

Warning: Its components cannot be greater than the nb.factors argument in the call of the fmdsd function.

main

this argument to title has an useful default here.

sub.title

string. Subtitle to be added to each graph.

color

When provided, the colour of the symbols of each group. Can be a vector with length equal to the number of groups.

fontsize.points

Numeric. Expansion of the characters (or symbols) of the groups on the graph. This works as a multiple of par("cex") (see points).

...

optional arguments to plot methods.

Details

Plots the principal scores returned by the function mdsdd. A new graphics window is opened for each pair of principal score vectors defined by the nscore argument.

Author(s)

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Sabine Demotes-Mainard

See Also

mdsdd; print.mdsdd; interpret.mdsdd.

Examples

# INSEE (France): Diploma x Socio professional group, seven years.
data(dspg)
xlista = dspg
a <- mdsdd(xlista)
plot(a) 

dad documentation built on Aug. 30, 2023, 5:06 p.m.