plotone: Secondary plot function

Description Usage Arguments Note Author(s) References

View source: R/plotone.R

Description

This function produces a classical plot when the input parameter of the main code CAvariants has been set as plottype = "classic", or it gives a biplot when plottype = "biplot". This function allows the analyst to plot row and column points in graphical displays, using symbols and labels for each point. It is called internally from the main graphical function plot.CAvariants.

Usage

1
2
3
plotone(a1, a2, plottype, things, nthings, nvars, Thingcoord, Varcoord, 
inertiapc, thinggroup, thinggrlab, vargroup, vargrlab, thinglabels, varlabels, 
picsize, cex = 0.8, cex.lab = 0.8, type , catype , pos = 2)

Arguments

a1

The dimension reflected along the horizontal (polynomial or principal) axis in the graphical display.

a2

The dimension reflected along the vertical (polynomial or principal) axis in the graphical display.

plottype

The paramater for specifying what kind of graphical display is required. By default, plottype = "classic", otherwise plottype = "biplot".

things

The input parameter for specifying what variable is in principal coordinates. Its value is "row" or "column" in biplots "rows&columns" in classical plots.

nthings

The number of row categories.

nvars

The number of column categories.

Thingcoord

The coordinates of the row variable.

Varcoord

The coordinates of the column variable.

inertiapc

The percentage of explained inertia for each axis.

thinggroup

It is a list of two objects, the first is the vector of the ordered natural scores of the row variable, the second object is a vector of one whose length is equal to the row number.

thinggrlab

The set of plotting symbols and colours of the row variable.

vargroup

It is a list of two objects, the first is the vector of the ordered natural scores of the column variable, the second object is a vector of one whose length is equal to the column number.

vargrlab

The set of plotting symbols and colours of the column variable.

thinglabels

The labels of the row variable.

varlabels

The labels of the column variable.

picsize

The graphical parameter for specifying the size of the plotting area.

cex

The parameter for setting the size of character labels of points in graphical displays. By default, cex = 0.8.

cex.lab

The parameter that specifies the size of character labels of axes in graphical displays. By default, cex.lab = 0.8.

type

The graphical parameter that specifies the type of line to be drawn.

catype

The input parameter specifying what variant of correspondence analysis is to be performed.

pos

The parameter for specifying the position of point symbols in the graphical displays. By default, pos = 2.

Note

In classical graphical displays, both sets of coordinates are principal coordinates (see Greenacre's terminology). In biplot graphical displays, one set of coordinates is standard and the other is principal. When the analysis is ordered, one set of coordinates consists of standard polynomial coordinates and the other one is of principal polynomial coordinates. This function is internally called by the main graphical function plot.CAvariants.

Author(s)

Rosaria Lombardo and Eric J Beh

References

Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons. Lombardo R Beh EJ Variants of Simple Correspondence Analysis. The R Journal (accepted).


CAvariants documentation built on May 30, 2017, 1:25 a.m.