Computes means by group and plots them in as a scatterplot
Usage
scatter_means_ci(
variable1,
variable2,
group,
data,
plot = TRUE,
print = TRUE,
smooth.method = "lm",
drop.groups = NULL
)Arguments
- variable1
Variable to plot on x axis
- variable2
Variable to plot on y axis
- group
Grouping variable
- data
Data frame
- plot
Logical. Should the plot be created?
Logical. Should the result be printed in the console?
- smooth.method
Method for smoothing line. "lm" by default.
- drop.groups
Vector of groups to be excluded from the analysis.
