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

View source: R/inpdfr_ANA_barplot.R

getSummaryStatsBARPLOTR Documentation

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",
  ...
)

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.

Value

The number of unique words per document.

Examples

data("wordOccuDF")
getSummaryStatsBARPLOT(wordF = wordOccuDF, getPlot = FALSE)

inpdfr documentation built on Aug. 24, 2023, 9:09 a.m.