Code
freq(iris$Species, plot = F, markdown = F)
Output
════════════════════════════════════════════════════════════
Species Freq % Cum. Freq Cum. %
────────────────────────────────────────────────────────────
setosa 50 33.3 50 33.3
versicolor 50 33.3 100 66.7
virginica 50 33.3 150 100.0
────────────────────────────────────────────────────────────
Total 150 100%
════════════════════════════════════════════════════════════
Code
freq(iris, Species, plot = F, markdown = F)
Output
════════════════════════════════════════════════════════════
Species Freq % Cum. Freq Cum. %
────────────────────────────────────────────────────────────
setosa 50 33.3 50 33.3
versicolor 50 33.3 100 66.7
virginica 50 33.3 150 100.0
────────────────────────────────────────────────────────────
Total 150 100%
════════════════════════════════════════════════════════════
Code
freq(iris[["Species"]], plot = F, markdown = F)
Output
════════════════════════════════════════════════════════════
Species Freq % Cum. Freq Cum. %
────────────────────────────────────────────────────────────
setosa 50 33.3 50 33.3
versicolor 50 33.3 100 66.7
virginica 50 33.3 150 100.0
────────────────────────────────────────────────────────────
Total 150 100%
════════════════════════════════════════════════════════════
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.