Description Usage Arguments Value Examples
Calculates character frequencies in a vector.
1 | char_count(x)
|
x |
character vector, or a list that can be unlisted to a character vector. |
data.frame with two columns: char
- character and count
- number of it's occurencies.
1 2 | char_count("character")
char_count(words.eng)
|
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.