Learn R Programming

inpdfr (version 0.1.12)

getSummaryStatsBARPLOT: Perform a barplot with the number of unique words per document

Description

Perform a barplot with the number of unique words per document using barplot function.

Usage

getSummaryStatsBARPLOT(
  wordF,
  getPlot = TRUE,
  mwidth = 480,
  mheight = 480,
  formatType = "png",
  ...
)

Value

The number of unique words per document.

Arguments

wordF

The data.frame containing word occurrences.

getPlot

If TRUE, save the bar plot in the RESULTS directory.

mwidth

The width of the plot in pixels.

mheight

The height of the plot in pixels.

formatType

The format for the output file ("eps", "pdf", "png", "svg", "tiff", "jpeg", "bmp").

...

Additional arguments from barplot function.

Examples

Run this code
data("wordOccuDF")
getSummaryStatsBARPLOT(wordF = wordOccuDF, getPlot = FALSE)

Run the code above in your browser using DataLab