Description Usage Arguments Author(s) Examples
Creates bar charts with 95% Jeffries confidence intervals and/or output tables from input vectors of factor data
1 2 3 | props(x, y = rep(1, length(x)), numvar = 2,
xname = deparse(substitute(x)), yname = deparse(substitute(y)),
plot = T, kable = F, table = T)
|
x |
First vector of factor data |
y |
Second vector of factor data. If a second vector is used, it makes plots/tables of the proportions of variable 1 for each unique value of variable 2 |
numvar |
Number of input variables (1 or 2) |
xname |
Name of x to use for plots/tables |
yname |
Name of y to use for plots/tables |
plot |
Whether a plot is produced (TRUE or FALSE) |
kable |
Whether to use kable format for tables, for use in R markdown (requires knitr package) #' |
table |
Whether a table is produced (TRUE or FALSE) |
Matt Tyers
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.