Proportions: Two Groups
jamovipdifftwo(
switch = "from_raw",
data,
outcome_variable,
grouping_variable,
comparison_cases = " ",
comparison_not_cases = " ",
reference_cases = " ",
reference_not_cases = " ",
case_label = "Sick",
not_case_label = "Well",
grouping_variable_level1 = "Treated",
grouping_variable_level2 = "Control",
outcome_variable_name = "Outcome variable",
grouping_variable_name = "Grouping variable",
count_NA = FALSE,
show_ratio = FALSE,
show_chi_square = FALSE,
chi_table_option = "both",
show_phi = FALSE,
conf_level = 95,
show_details = FALSE,
evaluate_hypotheses = FALSE,
null_value = "0",
null_boundary = "0",
alpha = 0.05,
null_color = "#A40122",
es_plot_width = "400",
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 = "none",
difference_axis_breaks = "auto",
shape_summary_reference = "circle filled",
shape_summary_comparison = "circle filled",
shape_summary_difference = "triangle filled",
color_summary_reference = "#008DF9",
color_summary_comparison = "#009F81",
color_summary_difference = "black",
fill_summary_reference = "#008DF9",
fill_summary_comparison = "#009F81",
fill_summary_difference = "black",
size_summary_reference = "4",
size_summary_comparison = "4",
size_summary_difference = "4",
alpha_summary_reference = "1",
alpha_summary_comparison = "1",
alpha_summary_difference = "1",
linetype_summary_reference = "solid",
linetype_summary_comparison = "solid",
linetype_summary_difference = "solid"
)
A results object containing:
results$debug | a preformatted | ||||
results$help | a html | ||||
results$overview | a table | ||||
results$es_proportion_difference | a table | ||||
results$es_odds_ratio | a table | ||||
results$es_phi | a table | ||||
results$contingency_table | 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)
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.