Description Usage Arguments Value Author(s) References See Also Examples
View source: R/scatter.with.hist.R
Draws a scatterplot of the data, and histogram in the margins. A trend line can be added, if desired.
1 2 3 4 | scatter.with.hist(x, y,
hist.col = gray(0.95),
trend.line = "lm",
...)
|
x |
numeric predictor |
y |
numeric response variables |
hist.col |
color for histogram |
trend.line |
Draw a trend line using |
... |
Passed to |
Draws the graphic. No return value.
John Verzani
This example comes from the help page for layout
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.