"plot"(x, bar.size = 5, low = "blue", mid = "grey99", high = "red", ave.polarity.shape = "+", alpha = 1/4, shape = 19, point.size = 2.5, jitter = 0.1, nrow = NULL, na.rm = TRUE, order.by.polarity = TRUE, plot = TRUE, error.bars = TRUE, error.bar.height = 0.5, error.bar.size = 0.5, error.bar.color = "black", ...)
NULLno legend if plotted.
TRUEthe group polarity plot will be ordered by average polarity score, otherwise alphabetical order is assumed.
TRUEthe plot will automatically plot. The user may wish to set to
FALSEfor use in knitr, sweave, etc. to add additional plot layers.
TRUEerror bars are added to the polarity dot plot using the standard error of the mean polarity score.
NULLeach bar will be colored by grouping variable.
Invisibly returns the
ggplot2 objects that form the larger
Plots a polarity object as a heat map Gantt plot with polarity over time (measured in words) and polarity scores per sentence. In the dotplot plot the black dots are the average polarity per grouping variable.