plot.corres: Plot method for correspondence objects

Description Usage Arguments Value Author(s) See Also Examples

Description

This function defines a plot method for correspondence objects.

Usage

1
2
3
## S3 method for class 'corres'
plot(x, main = "", addcol = TRUE, extreme = 0, rcex = 1, rcol = 1, 
rlabels = "", stretch = 1.4, ccex = 1, ccol = 2, clabels = "", ...)

Arguments

x

A correspondence object as produced by corres.

main

A string used for the main title of the plot.

addcol

A logical, if true, columns are added to the plot.

extreme

If nonzero, defines quantiles that define the extremes such that only data points exceeding these extremes are plotted.

rcex

sets cex graphical parameter for rows.

rcol

sets color for rows.

rlabels

vector of row labels.

stretch

a number defining the degree to which the columns (or rows) should be stretched out for visual presentation.

ccex

sets cex graphical parameter for columns.

ccol

sets color for columns.

clabels

vector of column labels.

...

other parameters to be passed through to plotting functions.

Value

A plot on the graphics device.

Author(s)

R. H. Baayen

See Also

See Also corres.fnc, link{corsup.fnc}.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
  data(oldFrench)
  data(oldFrenchMeta)

  oldFrench.ca = corres.fnc(oldFrench)

  plot(oldFrench.ca)

  plot(oldFrench.ca, rlabels = oldFrenchMeta$Genre, 
  rcol = as.numeric(oldFrenchMeta$Genre), rcex = 0.5, 
  extreme = 0.1, ccol = "blue")

## End(Not run)

languageR documentation built on May 2, 2019, 10:02 a.m.