freqHist {SherlockHolmes}R Documentation

freqHist

Description

histogram of frequencies

Usage

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

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

Value

returns no value, but has side effect generating histogram

Examples

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


[Package SherlockHolmes version 1.0.1 Index]