Learn R Programming

probemod (version 0.2.1)

plot.jn: Plot Function For Johnson-Neyman

Description

Plot function for objects of class "jn".

Usage

## S3 method for class 'jn':
plot(x, xlab = "", ylab = "", xlim = 0, ylim = 0,
  axlwd = 10, celwd = 10, cblwd = 8, \dots)

Arguments

x
An object of class "jn".
xlab
A title for the x axis (character).
ylab
A title for the y axis (character).
xlim
Coordinate range for x axis (numeric vector). Determined by the range of the given data by default.
ylim
Coordinate range for y axis (numeric vector). Determined by the range of the given data by default.
axlwd
Axis line width (numeric vector). axlwd=10 by default.
celwd
Conditional effect line width (numeric vector). celwd=10 by default.
cblwd
Conditional band line width (numeric vector). cblwd=8 by default.
...
Additional arguments (not supported yet).

Value

  • none

Examples

Run this code
myModel <- lm('DV ~ IV + MOD', data=someData)
jnresults <- jn(myModel, dv='DV', iv='IV', mod='MOD')
plot(jnresults)

Run the code above in your browser using DataLab