distributions {SherlockHolmes} | R Documentation |
distributions
Description
compute distribution of ratio of number of occurrences of query string divided by total number of words
Usage
distributions(freqs, titles.vec, minl, P, odir)
Arguments
freqs |
return value of frequency() |
titles.vec |
character vector containing the titles of the stories |
minl |
is an integer param passed to dpseg::dpseg |
P |
is a numeric param passed to dpseg::dpseg |
odir |
character string containing the full path name for the output directory |
Value
returns no value but has side effect of generating graphs
Examples
dis<-distributions(freqs,titles.vec[1],minl=100,P=0.00001,tempdir())
[Package SherlockHolmes version 1.0.1 Index]