Learn R Programming

MDMA (version 2.0.0)

print.probeInteraction: Print effects of probed interaction

Description

Print the effects from a probed interaction.

[Stable]

Usage

# S3 method for probeInteraction
print(x, ...)

Value

print.probeInteraction prints the effects table of a probeInteraction object.

Arguments

x

object of class probeInteraction.

...

other parameters (none are used).

Author

Mathijs Deen

Examples

Run this code
lm.1 <- lm(mpg ~ hp * wt, data = mtcars)
pI <- probeInteraction(lm.1, hp, wt, JN=TRUE, n.interval.moderator = 3,
                       quantile.moderator = c(0.1,0.9), values.moderator = 2)
print(pI)

Run the code above in your browser using DataLab