plotMod: Moderation Plot plots theree variables

Description Usage Arguments Details Value

Description

This function plots three variables, two on each axis, one in the color dimension.

Usage

1
plotMod(data, x, y, mod, ...)

Arguments

data

A dataset containint at least three variables to plot.

x

The variable to be plotted on the x-axis.

y

The variable to be plotted on the y-axis.

mod

The moderator variable to be plotted in a rainbow-color.

...

Further parameters passed on to plot.

Details

The variable mod is currently plotted in 5-percent quantiles for each color.

Value

A graphical representation of a moderation, displaying each point in three variables.


kthorstmann/horst documentation built on May 20, 2019, 7:04 p.m.