subplot | R Documentation |
Allows plotting multiple plots in the divided Graphics window
subplot(v)
v |
A numeric atomic vector of dimension 2 |
Return type is NULL
Chitran Ghosal
X <- rnorm(10^4, mean=3, sd=3)
Y <- X^2
subplot(c(2,1))
hist(X)
hist(Y)
subplot(c(1,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.