interaction_line_plot.Rd
Make a interaction line plot
interaction_line_plot(y, x, by, data, ylim = NULL, xlab = NULL, ylab = NULL)
A continuous variable to be plotted along the y-axis
A continuous variable to be plotted along the x-axis
A categorical variable by which we split the data and create one line plot for each resulting group
A data frame with the x
, y
, by
variables
A vector of limits for the y-axis
The label of the x-axis (defaults to the x
variable name).
The label of the y-axis (defaults to the y
variable name).
A ggplot2::ggplot
object, which may be modified with further ggplot2
commands.