barplot.QDCharacterStatistics {DramaAnalysis}R Documentation

Stacked Bar Plot

Description

This function expects an object of type QDCharacterStatistics and plots the specified column as a stacked bar plot.

Usage

## S3 method for class 'QDCharacterStatistics'
barplot(
  height,
  col = qd.colors,
  column = "tokens",
  order = -1,
  labels = TRUE,
  top = 5,
  ...
)

Arguments

height

The object of class QDCharacterStatistics that is to be plotted

col

The colors to use

column

Which column of the character statistics should be used?

order

Sort the fields inversely

labels

Whether to add character labels into the plot

top

Limit the labels to the top 5 characters. Otherwise, labels will become unreadable.

...

All remaining options are passed to barplot.default().

Value

See barplot.default().

See Also

barplot.default


[Package DramaAnalysis version 3.0.2 Index]