Description Usage Arguments Value Examples
View source: R/grouped_proptest.R
Function to run proportion test on grouped data.
1 | grouped_proptest(data, grouping.vars, measure, ...)
|
data |
Dataframe (or tibble) from which variables are to be taken. |
grouping.vars |
Grouping variables. |
measure |
A variable for which proportion test needs to be carried out
for each combination of levels of factors entered in |
... |
Currently ignored. |
Dataframe with percentages and statistical details from a proportion test.
1 2 3 4 5 6 7 8 | # for reproducibility
set.seed(123)
groupedstats::grouped_proptest(
data = mtcars,
grouping.vars = cyl,
measure = am
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.