tumble_plot: Tumble Plot

Description Usage Arguments Examples

Description

This function plots a tumble plot for probing a continuous by continuous interaction with empirical endpoints.

Usage

1
2
tumble_plot(dat, outcome, target, moderator, axis_labels = c("x", "y"),
  plot_title = NA, legend_title = NA, plot_limits)

Arguments

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.

Examples

1

laurenspark12/tumble documentation built on May 8, 2019, 12:53 a.m.