Description Usage Arguments Value Examples
The function freqAnalysis does a frequency analysis of retained words after initial preprocessing.
1 | freqAnalysis(ds, spvar = 0.99, stemvar = 0)
|
ds |
a character vector of text documents |
spvar |
a sparsity variable which defaults to 0.99 |
stemvar |
a variable indicating stemming to be performed or not which defaults to '0' meaning no stemming |
A dataframe with words and their frequencies after listed preprocessing.
1 2 3 4 5 6 7 | ## Not run:
# Run it and see for yourself
## End(Not run)
data.tmp<-read.csv(system.file("ext", "testdata.csv", package="BullsEyeR"))
ds<-as.character(data.tmp$Story[1:2])
freqAnalysis(ds=ds,spvar=0.99,stemvar=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.