Description Usage Arguments Value Examples
Produces a scatter plot in which the axes are supplemented by histograms of the marginal horizontal and vertical axis data.
1 | 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.
1 2 3 | 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.