Learn R Programming

jiebaR (version 0.11)

freq: The frequency of words

Description

This function returns the frequency of words

Usage

freq(x)

Arguments

x

a vector of words

Value

The frequency of words

Examples

Run this code
# NOT RUN {
freq(c("a","a","c"))
# }

Run the code above in your browser using DataLab