Learn R Programming

jiebaR (version 0.8.1)

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
freq(c("a","a","c"))

Run the code above in your browser using DataLab