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, ...)
The argument x
of plot
.
The argument x
of plot
.
A numeric vector. Optional argument breaks
to hist
when plotting the histogram
on the horizontal axis.
A numeric vector. Optional argument breaks
to hist
when plotting the histogram
on the vertical axis.
Further arguments to be passed to plot
.
Nothing, just the plot.