Description Usage Arguments See Also Examples
Create a simple regression plot with residual plot.
1 2 3 4 5 |
x |
Predictor variable. |
y |
Outcome variable. |
axes |
Whether to plot axis labels. |
wBox |
Whether to plot boxes around each plot. |
wLine |
Add a regression line. |
lCol |
Line color. |
lty |
Line type. |
lwd |
Line width. |
main |
Title for the top plot. |
xlab |
x-label. |
ylab |
y-label. |
marRes |
Margin for the residuals plot. |
col |
Color of the points. |
pch |
Plotting character of points. |
cex |
Size of points. |
yR |
An additional vertical stretch factor on the plot. |
ylim |
y-limits. |
subset |
Boolean vector, if wanting a subset of the data. |
... |
Additional arguments passed to both plots. |
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.