grid | R Documentation |
This is a wrapper for R's grid function. See R's documentation for graphics::grid for further details.
grid(Rcss = "default", Rcssclass = NULL, ...)
Rcss |
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() |
Rcssclass |
character, style class |
... |
Further parameters, see documentation of graphics::grid |
# add a grid to an existing plot
plot(c(0, 10), c(0, 10), type="n", xaxs="i", yaxs="i", las=1)
grid(nx=10, ny=5, col="#777777")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.