char_count: Characters count

Description Usage Arguments Value Examples

Description

Calculates character frequencies in a vector.

Usage

1

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

1
2

Example output

  char count
1    a     2
2    c     2
3    e     1
4    h     1
5    r     2
6    t     1
   char  count
1     a 188350
2     b  44256
3     c  99101
4     d  80851
5     e 277220
6     f  28705
7     g  67031
8     h  60479
9     i 223802
10    j   3875
11    k  20697
12    l 128430
13    m  70596
14    n 167337
15    o 163200
16    p  74145
17    q   4081
18    r 170861
19    s 236913
20    t 162433
21    u  80871
22    v  22776
23    w  17759
24    x   6769
25    y  39676
26    z  12017

wfindr documentation built on May 2, 2019, 12:20 p.m.