ggstatsplot (version 0.0.1)

grouped_proptest: Function to run proportion test on grouped data.

Description

Function to run proportion test on grouped data.

Arguments

data

Dataframe from which variables are to be drawn.

grouping.vars

List of grouping variables

measure

A variable for which proportion test needs to be carried out for each combination of levels of factors entered in grouping.vars.

Value

Dataframe with percentages and statistical details from a proportion test.