Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.corres

Plot method for correspondence objects


Description

This function defines a plot method for correspondence objects.

Usage

## 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

## 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

Analyzing Linguistic Data: A Practical Introduction to Statistics

v1.5.0
GPL (>= 2)
Authors
R. H. Baayen <harald.baayen@uni-tuebingen.de>, Elnaz Shafaei-Bajestan <elnaz.shafaei-bajestan@uni-tuebingen.de>
Initial release
2019-01-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.