distributions | R Documentation |
compute distribution of ratio of number of occurrences of query string divided by total number of words
distributions(freqs, titles.vec, minl, P, odir)
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 |
returns no value but has side effect of generating graphs
dis<-distributions(freqs,titles.vec[1],minl=100,P=0.00001,tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.