Description Usage Arguments Details Value
View source: R/map_to_result.R
Produce summary statistics, hypothesis tests and plot objects for a hypothesis
1 2 3 |
data |
the data as a data.frame. Must match the sampling frame used to produce the 'weighting' as well as the questionnaire if applicable. |
dependent.var |
string with the column name in "data" of the dependent variable |
case |
the analysis case, created with map_to_case(). |
cluster.variable.name |
if cluster sampling, provide the name of the variable in the dataset that denotes the cluster |
weighting |
A function that generates weights from a dataframe. You can create it with surveyweights::weighting_fun_from_samplingframe() |
questionnaire |
output from load_questionnaire() |
confidence_level |
the confidence level to be used for confidence intervals (default: 0.95) |
independen.var |
string with the column name in 'data' of the independent variable |
- takes as parameters outputs from - load_data() - map_to_case() - load_samplingframe() - load_questionnaire() - output can be processed by: - map_to_labeled() - map_to_visualisation() - map_to_table() - map_to_master_table() - map_to_visualisation_heatmap()
A list with the summary.statistic the hypothesis.test result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.