make.table | R Documentation |
A function to make a table of frequency counts for one variable, and to plot a histogram of the results.
make.table(table.of = NULL,
plot = TRUE,
xlab = table.of,
ylab = "count",
title = table.of,
barcolor = "grey",
barfill = "darkgrey")
table.of |
which variable will be chosen? If not sure what variables are there, try typing |
plot |
do you want a plot to be plotted? Default: |
xlab |
name of the X axis |
ylab |
name of the Y axis |
title |
title of the plot |
barcolor |
outline color of the content |
barfill |
color used to fill the bars |
A basic way to show the distribution of an indicated variable from
the litRiddle
package. It provides the values, but also
a simple histrogram.
A character vector containing one chosen variable, optionally followed by a plot.
Saskia Lensink, Maciej Eder
https://literaryquality.huygens.knaw.nl/
make.table2
, get.columns
make.table(table.of = "age.resp")
make.table(table.of = "age.resp", xlab = "age respondent",
ylab = "number of people", title = "Distribution of respondent age",
barcolor = "red", barfill = "white")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.