scatter_hist | R Documentation |
Produces a scatter plot in which the axes are supplemented by histograms of the marginal horizontal and vertical axis data.
scatter_hist(x, y, xbreaks = NULL, ybreaks = NULL, ...)
x |
The argument |
y |
The argument |
xbreaks |
A numeric vector. Optional argument |
ybreaks |
A numeric vector. Optional argument |
... |
Further arguments to be passed to |
Nothing, just the plot.
x <- rnorm(100)
y <- rnorm(100)
scatter_hist(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.