Estimates the Johnson-Neyman significance bounds for a linear fit. These are the bounds at which the effect of the predictor on the outcome changes from being significant to being non-signficant given varying values of the moderator(s). Also estmates the confidence bands for the slope of the predictor on the outcome for varying levels of the moderator(s).

1 |

`fit` |
the output of a call to |

`predictor` |
optional; a string containing the name of the predictor. By default, it is assumed that the first variable to appear in fit is the predictor; if not, it must be specified here. |

`moderator` |
optional; a string containing the name of the moderator. By default, it is assumed that the second variable to appear in fit is the sole moderator; if not, it must be specified here. If more than one moderator is present, all of them must be named because the default is to only use the second variable in the fit. |

`mod.range` |
optional; a vector of length 2 containing the range of the first moderator for which the simple regression lines are to be plotted in a call to |

`at.mod2.level` |
optional; a list of values of the second moderator (if present) for which the signfiicance bounds and regions are to be computed. If |

`mod2.level.names` |
optional; a vector of the same length as |

`alpha` |
the alpha value (significance criterion) corresponding to the confidence level for the signfiicance bounds and regions. |

`simultaneous` |
whether the bounds and bands should be calculated considering the tests as simultaneous or not. If so, a stricter criterion is used, making the bands wider. |

`sr` |
a |

`digits` |
the number of digits to be displayed for the significance bounds. |

`colors` |
a vector of colors to be used to specify the colors of the lines in the significance bands plot. See 'Color Specification' at |

`ggplot2` |
logical; whether to print results using ggplot2 or |

ngreifer/modprobe documentation built on Aug. 4, 2017, 9:20 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.