filmov
tv
R Programming Demo: Read Text File and Determine Letter Frequency

Показать описание
In this video we look at an R program that reads a text file. Then it eliminates any character that is not a letter. Next, it counts the frequency (number of occurrences) of each letter. It displays a histogram of the result. Finally it calculates the entropy (amount of information conveyed) per letter for this text (The Bells by Edgar Allan Poe).