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
.
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)
The dimension reflected along the horizontal (polynomial or principal) axis in the graphical display.
The dimension reflected along the vertical (polynomial or principal) axis in the graphical display.
The paramater for specifying what kind of graphical display is required.
By default, plottype = "classic"
, otherwise plottype = "biplot"
.
The input parameter for specifying what variable is in principal coordinates. Its value is "row"
or "column"
in biplots
"rows&columns"
in classical plots.
The number of row categories.
The number of column categories.
The coordinates of the row variable.
The coordinates of the column variable.
The percentage of explained inertia for each axis.
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.
The set of plotting symbols and colours of the row variable.
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.
The set of plotting symbols and colours of the column variable.
The labels of the row variable.
The labels of the column variable.
The graphical parameter for specifying the size of the plotting area.
The parameter for setting the size of character labels of points in graphical displays. By default, cex = 0.8
.
The parameter that specifies the size of character labels of axes in graphical displays. By default, cex.lab = 0.8
.
The graphical parameter that specifies the type of line to be drawn.
The input parameter specifying what variant of correspondence analysis is to be performed.
The parameter for specifying the position of point symbols in the graphical displays.
By default, pos = 2
.
Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons. Lombardo R Beh EJ 2016 Variants of Simple Correspondence Analysis. The R Journal, 8 (2), 167--184.