Select Page

Calculating the Longest Ngrams from set of NGrams using SparklyR

Recently I had the need to find all the Ngrams from large corpus. The NGrams ranged from 2 words to 40 words per ngram. To calculate the longest Ngrams, I had to find Ngrams that are subset of larger Ngram and remove, keeping the longer one. This ending up with the...

catbarchart- Plotting categorical data in R

catbarchart is a R function I wrote for a Statistics course. This function coupled with a helper function allows plotting of Continuous data against a categorical Response Variable. Here is the plot you will get if you take famous Cars93 dataset in R and plot some of...

Charting Temporal Trends in Alteryx using sugrrants R package

At times it is useful to chart Temporal Trends. This helps in understanding the cyclic and seasonal trends in Time Series Dataset. A Temporal Trends chart for a number of downloads of a somewhat popular Android game looks as follows: The cyclical patterns of the...
Skip to toolbar