Description Usage Arguments Examples
This function plots a tumble plot for probing a continuous by continuous interaction with empirical endpoints.
1 2 | tumble_plot(dat, outcome, target, moderator, axis_labels = c("x", "y"),
plot_title = NA, legend_title = NA, plot_limits)
|
dat |
A dataset of class data.frame. |
outcome |
The dependent variable. |
target |
The continuous independent variable of class numeric. |
moderator |
The continuous moderator of class numeric. |
axis_labels |
A list of two character objects for the x- and y-axes. Defaults to c('x','y'). |
plot_title |
A character object for the plot title. Defaults to NA. |
legend_title |
A character object for the legend title. Defaults to NA. |
plot_limits |
A list of two numeric objects for xlim and ylim. Defaults to the ranges of the independent and dependent variables. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.