data: a data object (a data frame or a data.table)
dv_name: name of the dependent variable (DV)
iv_1_name: name of the first independent variable (IV1), whose main effects will be examined in the first set of contrasts
iv_2_name: name of the second independent variable (IV2), whose simple effects at each level of IV1 will be examined in the second set of contrasts
iv_1_levels: ordered levels of IV1
iv_2_levels: ordered levels of IV2
print_contrast_table: If print_contrast_table = "weights_sums_and_products", contrasts' weights, sums of the weights and products will be printed. If print_contrast_table = "weights_only", only the contrasts will be printed.
output: output can be one of the following: "lm_object", "table", "weights_only", "weights_sums_and_products", "all" By default, output = NULL, and there will be no output from the function other than the tables of simple effects and constrasts which will be printed on the console by default.
Returns
By default, the function will print a table of contrasts and a table of simple effects.