Learn R Programming

wfindr (version 0.1.0)

char_count: Characters count

Description

Calculates character frequencies in a vector.

Usage

char_count(x)

Arguments

x
character vector, or a list that can be unlisted to a character vector.

Value

data.frame with two columns: char - character and count - number of it's occurencies.

Examples

Run this code
char_count("character")
char_count(words.eng)

Run the code above in your browser using DataLab