This function returns the frequency of words
freq(x)
x
a vector of words
The frequency of words
Qin wenfeng
freq(c("a","a","c"))