Description Usage Arguments Value Examples
Plot a scatterplot of bivariate data with histograms for the marginal distributions.
1 | scatterhist(x, y = NULL, ...)
|
x |
a vector, matrix or data frame |
y |
if provided, a vector |
... |
additional arguments to be passed to the low level functions. |
None, just produces a plot.
1 2 3 | x <- rnorm(200)
y <- 0.5*x + rnorm(200, 0, 0.1)
scatterhist(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.