plot.lexical_dispersion: Plots a lexical_dispersion object

Description Usage Arguments

Description

Plots a lexical_dispersion object.

Usage

1
2
3
4
5
6
## S3 method for class 'lexical_dispersion'
plot(x, color = "blue", bg.color = "grey90",
  horiz.color = "grey85", total.color = "black", symbol = "|",
  title = "Lexical Dispersion Plot", rev.factor = TRUE, wrap = "'",
  xlab = "Dialogue (Words)", ylab = NULL, size = 4, scales = "free",
  space = "free", ...)

Arguments

x

The lexical_dispersion object.

color

The color of the word symbols.

bg.color

The background color.

horiz.color

The color of the horizontal tracking stripe. Use horiz.color = bg.color to eliminate.

total.color

The color to use for summary 'all' group. If NULL totals are dropped.

symbol

The word symbol. Default is "|".

title

Title of the plot

rev.factor

logical. If TRUE reverses the plot order of the factors.

wrap

a character to wrap around the words (enables the reader to visualize spaces). Default is "'", use "" to remove.

xlab

The x label.

ylab

The y label.

size

The size of the plotting symbol.

scales

Should scales be fixed ("fixed", the default), free ("free"), or free in one dimension ("free_x", "free_y")

space

If "fixed", the default, all panels have the same size. If "free_y" their height will be proportional to the length of the y scale; if "free_x" their width will be proportional to the length of the x scale; or if "free" both height and width will vary.

...

Ignored.


trinker/lexr documentation built on May 31, 2019, 8:52 p.m.