Description Usage Arguments Value Examples
View source: R/map_to_summary_statistic.R
selects an appropriate summary statistic function based on the analysis case
1 2 | map_to_summary_statistic(design, dependent.var, independent.var, case,
questionnaire = NULL, confidence_level = 0.95)
|
design |
the design object (map_to_design()) |
dependent.var |
the name of the dependent variable |
independent.var |
the name of the independent variable |
case |
a string uniquely identifying the analysis case. output of map_to_case(). |
questionnaire |
the questionnaire (from load_questionnaire()) |
confidence_level |
the confidence level to be used for confidence intervals (default: 0.95) |
a _function_ that computes the relevant summary statistic
1 2 3 4 5 | ## Not run: map_to_summary_statistic("group_difference_categorical_categorical")
## Not run: my_case<- map_to_case( ... )
my_sumstat <- map_to_summary_statistic(my_case)
my_sumstat( ... )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.