plot.CA3variants {CA3variants}R Documentation

Graphical display resulting from CAvariants3

Description

The function plot.CA3variants allows the analyst to graphically display six types of biplots from their analysis. When the input parameter is biptype = "column-tube" (or biptype = "col-tube"), the function displays the column-tube interactive biplot. When the input parameter is biptype = "row", the function displays the row biplot. When the input parameter is biptype = "col", the function displays the column biplot. When the input parameter is biptype = "row-tube", the function displays the row-tube biplot. When the input parameter is biptype = "tube", the function displays the tube biplot. When the input parameter is biptype = "row-column" (or biptype = "row-col"), the function displays the row-column interactive biplot.

By default, biptype = "column-tube".

Usage

## S3 method for class 'CA3variants'
plot(x, firstaxis = 1, lastaxis = 2, thirdaxis = 3, cex = 0.8,  
biptype="column-tube", scaleplot = NULL,  plot3d = FALSE, pos = 1, 
size1 = 1, size2 = 2, addlines = TRUE,...)

Arguments

x

The output parameters of the main function CA3variants.

firstaxis

The dimension reflected along the horizontal axis.

lastaxis

The dimension reflected along the vertical axis.

thirdaxis

The dimension reflected along the third axis when plot3d = TRUE.

cex

The parameter that specifies the size of character labels of points in graphical displays. By default, it is equal to 0.8.

biptype

The input parameter for specifying what kind of biplot is requested. By default, it is equal to column-tube, but could be row-tube, row-column, row, column and tube.

scaleplot

The scaling parameter for biplots to pull points away from the origin (see gamma biplot in Gower et al 2011). By default, it is equal to the overall average for the sum of squares of the two sets of coordinates (principal and standard ones), because of the average sum of squares for the two sets of points is the same (see Van de Velden et al 2017).

plot3d

The logical parameter specifies whether a 3D plot is to be included in the output or not. By default, plot3d = FALSE.

pos

The input parameter for changing the label position. By default, it is equal to 1.

size1

The input parameter for specifying the size of pointers. By default, it is equal to 1.

size2

The input parameter for specifying the label size. By default, it is equal to 2.

addlines

The input parameter for plotting lines in biplots (the points in standard coordinates are represented using lines). By default, it is equal to addlines = TRUE.

...

Further arguments passed to or from other methods.

Details

It is utilised by the main function CA3variants and uses the secondary graphical function graph2poly.

Value

Graphical displays of three-way correspondence analysis variants. Interactive plots or biplots are the graphical results of this function.

Author(s)

Rosaria Lombardo, Eric J Beh and Michel van de Velden.

References

Beh EJ and Lombardo R (2014). Correspondence Analysis, Theory, Practice and New Strategies. John Wiley & Sons.
Van de Velden M, Iodice D'Enza A, Palumbo F 2017. Cluster Correspondence Analysis. Psychometrika, 82, 158–185.
Gower JC, Lubbe SG, and Le Roux, NJ 2011. Understanding biplots. New York: Wiley.
Lombardo R, Beh EJ and Kroonenberg PM (2020-preprint) Symmetrical and Non-Symmetrical Variants of Three-Way Correspondence Analysis for Ordered Variables. Statistical Science Journal, p. 1-33.

Examples

data(happy)
ris.ca3<-CA3variants(happy, dims = c(p = 2, q = 2, r = 2), ca3type = "CA3") 
plot(ris.ca3)
ris.nsca3<-CA3variants(happy, dims = c(p = 2, q = 2, r = 2), ca3type = "NSCA3") 
plot(ris.nsca3, biptype = "row", plot3d = TRUE)
ris.oca3<-CA3variants(happy, dims = c(p = 3, q = 5, r = 4), ca3type = "OCA3", norder = 3) 
plot(ris.oca3, biptype = "tube",firstaxis=4,lastaxis=7)
ris.onsca3<-CA3variants(happy, dims = c(p = 3, q = 5, r = 4), ca3type = "ONSCA3", norder = 3) 
plot(ris.onsca3,biptype="row",firstaxis=6,lastaxis=7)

[Package CA3variants version 3.0 Index]