Description Usage Arguments Value Examples
NB: currently works for integer y; need to make it general.
1 | scatterhist(x, y, xlab = "", ylab = "")
|
x |
numeric vector; usually iteration ids |
y |
the values at each x value |
xlab |
label of x-axis |
ylab |
label of y-axis |
a plot with sampling chain at the bottom left and histogram on the right margin
1 2 3 | x <- 1:1000
y <- sample(1:10,1000,prob = c(1,2,3,4,5,5,4,3,2,1), replace=TRUE)
scatterhist(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.