Prints or plots the simple slopes for a 3-way interaction
Arguments
- power.results
Data frame of results from power_interaction_3way_r2().
- row.num
Which row to show? Can only be a single number. Default is 1.
- return.plot
Return a matrix (FALSE, default), or a plot (TRUE)?
Examples
power_analysis = power_interaction_3way_r2(detailed_results = TRUE,N = c(1000),
r.x1.y = .2,r.x2.y = .3,r.x3.y = .1,r.x1x2.y = .01,r.x1x3.y = .05,r.x2x3.y = .1,
b.x1x2x3 = 0.1,r.x1.x2 = .1,r.x1.x3 = .1,r.x2.x3 = .1,
rel.x1 = 1,rel.x2 = 1,rel.x3 = 1,rel.y = 1 )
#> Performing 1 analyses
simple.slopes.3way(power_analysis)
#> X2 X3 intercept slope
#> 1 -1 SD -1 SD -0.21764617 0.22162374
#> 2 Mean -1 SD -0.04555556 0.11681215
#> 3 1 SD -1 SD 0.12653506 0.01200055
#> 4 -1 SD Mean -0.26777778 0.16147826
#> 5 Mean Mean 0.00000000 0.15666667
#> 6 1 SD Mean 0.26777778 0.15185507
#> 7 -1 SD 1 SD -0.31790938 0.10133278
#> 8 Mean 1 SD 0.04555556 0.19652119
#> 9 1 SD 1 SD 0.40902050 0.29170959