plotbins | R Documentation |
Plotting a heatmap for 2D data
plotbins(
x,
y,
n.x = 11,
n.y = 11,
xlim = range(x),
ylim = range(y),
freq = TRUE,
text.cex = 1,
...
)
x |
a numeric vector |
y |
a numeric vector |
n.x |
number of bins for x |
n.y |
number of bins for y |
xlim |
limits for x |
ylim |
limits for y |
freq |
If |
text.cex |
|
... |
extra parameters for |
plots a heatmap of discretized data
x <- rnorm(500)
y <- x + rnorm(500)
plotbins(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.