Learn R Programming

SherlockHolmes (version 1.0.2)

freqHist: freqHist

Description

histogram of frequencies

Usage

freqHist(patterns, starts, titles.vec, freqs, histDir)

Value

returns no value, but has side effect generating histogram

Arguments

patterns

vector of character string query patterns

starts

integer vector of starting positions

titles.vec

character vector containing the titles of the stories

freqs

return value of frequency()

histDir

character string full path name for output directory

Examples

Run this code
fh<-freqHist(patterns,starts,titles.vec,freqs,histDir=tempdir())

Run the code above in your browser using DataLab