# Main plot function

### Description

This function allows the analyst to produce the suitable graphical displays with respect to the six variants of correspondence analysis.
In particular when `plottype = "classic"`

, it produces classical graphical displays for `catype = "CA"`

and `catype = "NSCA"`

,
where the row and column variables are graphically depicted in principal coordinates.

When we set `plottype = "biplot"`

, it produces biplot graphical displays, or polynomial biplots in case of ordered analysis.
Notice that for ordered analysis only polynomial biplots are suitable. In particular, for the singly ordered variants only row isometric polynomial biplots make sense,
as we assume that the ordered variable is the column variable (the column coordinates are standard polynomial coordinates
and the row coordinates are principal polynomial coordinates).
When the input parameter `catype`

is equal to `catype = "SOCA"`

,
`catype = "DOCA"`

, `catype = "SONSCA"`

or `catype = "DONSCA"`

, then the input parameter
`plottype`

should be equal to `plottype = "biplot"`

, if `biptype = "row"`

, it will give back a row isometric polynomial biplot.

### Usage

1 2 3 4 |

### Arguments

`x` |
The name of the output object, for example say |

`firstaxis` |
The horizontal polynomial or principal axis, |

`lastaxis` |
The vertical polynomial or principal axis, |

`cex` |
The size of characters, |

`cex.lab` |
The parameter |

`prop` |
The scaling parameter for specifying the limits of the plotting area. By default, |

`plottype` |
The type of graphical display required (either a classical correspondence plot or a biplot).
The user can look at a classical correspondence plot by defining the input
parameter Note that for ordered analysis only polynomial biplots are suitable. In particular for the singly ordered variants,
only row isometric polynomial biplots make sense, as we assume that the ordered variable is the column variable
(the column coordinates are standard polynomial coordinates and the row coordinates are principal polynomial coordinates).
By default, |

`biptype` |
For a biplot, one may specify that it be a row-isometric biplot ( |

`scaleplot` |
The parameter for scaling the biplot coordinates, |

`posleg` |
The parameter |

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

`ell` |
The logical parameter, |

`Mell` |
The number of axes |

`alpha` |
The confidence level of the elliptical regions. By default, |

`...` |
Further arguments passed to or from other methods. |

### Details

It produces classical and biplot graphical displays. Further when `catype`

is equal to

`"DOCA", "SOCA", "DONSCA"`

or `"SONSCA"`

,
the trend of row and column variables after the reconstruction of column profiles by polynomials is portrayed.

For classical biplot displays, it superimposes on it algebraic ellipses of confidence. It uses the secondary plot functions `caellipse`

or
`nscaellipse`

, depending on the input parameter `catype`

.

### Note

For classical graphical displays, both sets of coordinates are defined using 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, it makes sense only biplot. One set of coordinates consists of standard polynomial coordinates and the other one is of principal polynomial coordinates.

### 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. Gower J, Lubbe S, and le Roux, N 2011 Understanding Biplots. John Wiley & Sons.

### Examples

1 2 3 4 | ```
data(asbestos)
risasbestos<-CAvariants(asbestos, catype = "DOCA", firstaxis=1, lastaxis=2)
plot.CAvariants(risasbestos, plotype = "biplot", biptype = "row")
plot.CAvariants(risasbestos, plotype = "biplot", biptype = "row", ell = TRUE)
``` |