Learn R Programming

probemod (version 0.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, \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
coordinates range for x axis (numeric vector).
ylim
coordinates range for y axis (numeric vector)
...
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