freq_punct_line: Get frequency of punctuation marks per line

Description Usage Arguments Examples

Description

Returns a data table returning the number of times a series of desired punctuation marks appear in a given line and the index number of that line.

Usage

1
freq_punct_line(text, punctlist)

Arguments

text

Vector of strings representing lines of a text

punctlist

Vector of target punctuation marks to be matched with the text/document of interest

Examples

1
freq_punct_line(text = gardenParty, punctlist = c(".", "?", "..."))

Amherst-Statistics/katherinemansfieldr documentation built on May 5, 2019, 4:55 a.m.