Means and Medians: Independent Groups Contrast
jamovimdiffindcontrast(
switch = "from_raw",
data,
outcome_variable,
grouping_variable,
means,
sds,
ns,
grouping_variable_levels,
outcome_variable_name = "Outcome variable",
grouping_variable_name = "Grouping variable",
comparison_labels = " ",
reference_labels = " ",
conf_level = 95,
effect_size = "mean_difference",
assume_equal_variance = TRUE,
show_details = FALSE,
evaluate_hypotheses = FALSE,
null_value = "0",
null_boundary = "0",
rope_units = "raw",
alpha = 0.05,
null_color = "#A40122",
es_plot_width = "550",
es_plot_height = "450",
ymin = "auto",
ymax = "auto",
ybreaks = "auto",
ylab = "auto",
xlab = "auto",
axis.text.y = "14",
axis.title.y = "15",
axis.text.x = "14",
axis.title.x = "15",
simple_contrast_labels = TRUE,
error_layout = "halfeye",
error_scale = "0.25",
error_nudge = "0.5",
data_layout = "random",
data_spread = "0.20",
difference_axis_units = "raw",
difference_axis_breaks = "auto",
shape_raw_reference = "circle filled",
shape_raw_comparison = "circle filled",
shape_raw_unused = "circle filled",
shape_summary_reference = "circle filled",
shape_summary_comparison = "circle filled",
shape_summary_unused = "circle filled",
shape_summary_difference = "triangle filled",
color_raw_reference = "#008DF9",
color_raw_comparison = "#009F81",
color_raw_unused = "gray65",
color_summary_reference = "#008DF9",
color_summary_comparison = "#009F81",
color_summary_unused = "gray65",
color_summary_difference = "black",
fill_raw_reference = "NA",
fill_raw_comparison = "NA",
fill_raw_unused = "NA",
fill_summary_reference = "#008DF9",
fill_summary_comparison = "#009F81",
fill_summary_unused = "gray65",
fill_summary_difference = "black",
size_raw_reference = "2",
size_raw_comparison = "2",
size_raw_unused = "1",
size_summary_reference = "4",
size_summary_comparison = "4",
size_summary_unused = "4",
size_summary_difference = "4",
alpha_raw_reference = "1",
alpha_raw_comparison = "1",
alpha_raw_unused = "1",
alpha_summary_reference = "1",
alpha_summary_comparison = "1",
alpha_summary_unused = "1",
alpha_summary_difference = "1",
linetype_summary_reference = "solid",
linetype_summary_comparison = "solid",
linetype_summary_unused = "solid",
linetype_summary_difference = "solid",
color_interval_reference = "black",
color_interval_comparison = "black",
color_interval_unused = "gray65",
color_interval_difference = "black",
size_interval_reference = "3",
size_interval_comparison = "3",
size_interval_unused = "3",
size_interval_difference = "3",
alpha_interval_reference = "1",
alpha_interval_comparison = "1",
alpha_interval_unused = "1",
alpha_interval_difference = "1",
alpha_error_reference = "1",
alpha_error_comparison = "1",
alpha_error_unused = "1",
alpha_error_difference = "1",
fill_error_reference = "gray75",
fill_error_comparison = "gray75",
fill_error_unused = "gray75",
fill_error_difference = "gray75"
)
A results object containing:
results$debug | a preformatted | ||||
results$help | a html | ||||
results$overview | a table | ||||
results$es_median_difference | a table | ||||
results$es_mean_difference | a table | ||||
results$es_smd | a table | ||||
results$point_null | a table | ||||
results$interval_null | a table | ||||
results$estimation_plot_warnings | a html | ||||
results$estimation_plots | an array of images |
Tables can be converted to data frames with asDF
or as.data.frame
. For example:
results$overview$asDF
as.data.frame(results$overview)
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.