Code
freq(df, x, sort = F, plot = F, markdown = F)
Output
═══════════════════════════════════════════════════════
x Freq % Cum. Freq Cum. %
───────────────────────────────────────────────────────
A 3 30.0 3 30.0
B 4 40.0 7 70.0
C 2 20.0 9 90.0
D 1 10.0 10 100.0
───────────────────────────────────────────────────────
Total 10 100%
═══════════════════════════════════════════════════════
Code
freq(df, x, sort = F, plot = F, markdown = F)
Output
═══════════════════════════════════════════════════════
x Freq % Cum. Freq Cum. %
───────────────────────────────────────────────────────
A 3 27.3 3 27.3
B 4 36.4 7 63.6
C 2 18.2 9 81.8
D 1 9.1 10 90.9
<NA> 1 9.1 11 100.0
───────────────────────────────────────────────────────
Total 11 100%
═══════════════════════════════════════════════════════
Code
freq(df, x, sort = F, plot = F, markdown = F)
Output
═══════════════════════════════════════════════════════
x Freq % Cum. Freq Cum. %
───────────────────────────────────────────────────────
A 3 27.3 3 27.3
B 4 36.4 7 63.6
C 2 18.2 9 81.8
D 1 9.1 10 90.9
<NA> 1 9.1 11 100.0
───────────────────────────────────────────────────────
Total 11 100%
═══════════════════════════════════════════════════════
Code
freq(df, x, sort = F, plot = F, markdown = F)
Output
═══════════════════════════════════════════════════════
x Freq % Cum. Freq Cum. %
───────────────────────────────────────────────────────
D 1 9.1 1 9.1
B 4 36.4 5 45.5
C 2 18.2 7 63.6
A 3 27.3 10 90.9
<NA> 1 9.1 11 100.0
───────────────────────────────────────────────────────
Total 11 100%
═══════════════════════════════════════════════════════
Code
freq(df, x, sort = F, plot = F, markdown = F)
Output
═══════════════════════════════════════════════════════
x Freq % Cum. Freq Cum. %
───────────────────────────────────────────────────────
D 1 9.1 1 9.1
C 2 18.2 3 27.3
B 4 36.4 7 63.6
A 3 27.3 10 90.9
<NA> 1 9.1 11 100.0
───────────────────────────────────────────────────────
Total 11 100%
═══════════════════════════════════════════════════════
Code
freq(df, x, sort = T, plot = F, markdown = F)
Output
═══════════════════════════════════════════════════════
x Freq % Cum. Freq Cum. %
───────────────────────────────────────────────────────
B 4 36.4 4 36.4
A 3 27.3 7 63.6
C 2 18.2 9 81.8
D 1 9.1 10 90.9
<NA> 1 9.1 11 100.0
───────────────────────────────────────────────────────
Total 11 100%
═══════════════════════════════════════════════════════
Code
freq(df, x, sort = F, plot = F, markdown = F)
Output
═══════════════════════════════════════════════════════
x Freq % Cum. Freq Cum. %
───────────────────────────────────────────────────────
1 3 33.3 3 33.3
2 4 44.4 7 77.8
10 1 11.1 8 88.9
<NA> 1 11.1 9 100.0
───────────────────────────────────────────────────────
Total 9 100%
═══════════════════════════════════════════════════════
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.