punct.hist: punct.hist

Description Usage Arguments Value Examples

View source: R/punct.hist.R

Description

Given a list of punctuations and frequencies and an integer n, plot a histogram of top n punctuations.

Usage

1
punct.hist(p.freq, n = 20, print.val = FALSE)

Arguments

p.freq

This should be the list of punctuations frequencies (frequency function).

n

This indicates the top x most frequently occuring punctuations that will be graphed

print.val

This indicates whether a list of the top n punctuations should be printed out

Value

a histogram of the top n frequently occuring punctuations in a text (can also return a list of the top n frequently occuring words)

Examples

1
punct.hist(p.freq, 50, TRUE,)

lhagopian/WritingStyAnalysis documentation built on May 5, 2019, 12:31 a.m.