Description Usage Arguments Value Examples
View source: R/hypothesis_tests.R
Perform a two sample t test of one numerical variable across mutliple groups
1 | hypothesis_test_t_two_sample(dependent.var, independent.var, design)
|
dependent.var |
string with the column name in 'data' of the dependent variable. Should be numerical. |
design |
the svy design object created using map_to_design or directly with svydesign |
independen.var |
string with the column name in ‘data' of the independent variable. Should be a ’select one' with few (<15) categories. |
A list with the results of the test (T-value, p value, etc.) or the error message.
1 | ## Not run: hypothesis_test_t_two_sample("males_13_15", "resp_gender", design)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.