powered by
Plot data and add a regression line.
PlotWLine( x, y, xlab = "", ylab = "", col = fadeColor(4, "88"), cex = 1.2, pch = 20, n = 4, nMax = 4, yR = 0.1, axes = TRUE, ... )
Predictor variable.
Outcome variable.
x-axis label.
y-axis label.
Color of points.
Size of points.
Plotting character.
The preferred number of axis labels.
The maximum number of axis labels.
y-limit buffer factor.
Boolean to indicate whether or not to include axes.
Passed to plot.
plot
makeTube
PlotWLine(1:10, seq(-5, -2, length.out = 10) + rnorm(10))
Run the code above in your browser using DataLab