scatter.coa {ade4}R Documentation

Plot of the factorial maps for a correspondence analysis

Description

performs the scatter diagrams of a correspondence analysis.

Usage

## S3 method for class 'coa':
scatter(x, xax = 1, yax = 2, method = 1:3, clab.row = 0.75, 
    clab.col = 1.25, posieig = "top", sub = NULL, csub = 2, ...)

Arguments

x an object of class coa
xax the column number for the x-axis
yax the column number for the y-axis
method an integer between 1 and 3
1 Rows and columns with the coordinates of lambda variance
2 Rows variance 1 and columns by averaging
3 Columns variance 1 and rows by averaging
clab.row a character size for the rows
clab.col a character size for the columns
posieig if "top" the eigenvalues bar plot is upside,vif "bottom" it is downside, if "none" no plot
sub a string of characters to be inserted as legend
csub a character size for the legend, used with par("cex")*csub
... further arguments passed to or from other methods

Author(s)

Daniel Chessel

References

Oksanen, J. (1987) Problems of joint display of species and site scores in correspondence analysis. Vegetatio, 72, 51–57.

Examples

data(housetasks)
par(mfrow = c(2,2))
w <- dudi.coa(housetasks, scan = FALSE)
scatter.dudi(w, sub = "0 / To be avoided")
scatter.coa(w, method = 1, sub = "1 / Standard", posieig = "none")
scatter.coa(w, method = 2, 
    sub = "2 / Columns -> averaging -> Rows", posieig = "none")
scatter.coa(w, method = 3, 
    sub = "3 / Rows -> averaging -> Columns ", posieig = "none")

Worked out examples


> library(ade4)
> ### Name: scatter.coa
> ### Title: Plot of the factorial maps for a correspondence analysis
> ### Aliases: scatter.coa
> ### Keywords: multivariate hplot
> 
> ### ** Examples
> 
> data(housetasks)
> par(mfrow = c(2,2))
> w <- dudi.coa(housetasks, scan = FALSE)
> scatter.dudi(w, sub = "0 / To be avoided")
> scatter.coa(w, method = 1, sub = "1 / Standard", posieig = "none")
NULL
> scatter.coa(w, method = 2, 
+     sub = "2 / Columns -> averaging -> Rows", posieig = "none")
NULL
> scatter.coa(w, method = 3, 
+     sub = "3 / Rows -> averaging -> Columns ", posieig = "none")
NULL
> 
> 
> 
> 

[Package ade4 Index]