Description Usage Arguments Details Value Examples
Produce summary statistics, hypothesis tests and plot objects for a hypothesis
1 2 3 4 |
data |
|
dependent.var |
string with the column name in 'data' of the dependent variable |
hypothesis.type |
the type of hypothesis as a string. Allowed values are "direct_reporting", "group_difference", "limit", "correlation" or "change" |
sampling.strategy.cluster |
set to TRUE if you used cluster sampling |
sampling.strategy.stratified |
set to TRUE if you used stratified sampling |
do.for.each.unique.value.in.var |
if you want to repeat the analysis for multiple subsets of the data, specify the column name in 'data' by which to split the dataset |
independen.var |
string with the column name in 'data' of the independent variable |
this function takes the data, information about your variables of interest, hypothesis type and sampling strategy. It selects the appropriate summary statistics, hypothesis test and visualisation and applies them.
it uses map_to_case
,map_to_indicator
,map_to_hypothesis
,map_to_visualisation
A list with 1. the summary.statistic, 2. the hypothesis.test.result, and 3. the visualisation as a ggplot object
1 | plot_crayons()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.