Rcssplot (version 1.0.0)

grid: #' Draw a styled grid

Description

This is a wrapper for R's grid function. See R's documentation for graphics::grid for further details.

Usage

grid(Rcss = "default", Rcssclass = NULL, ...)

Arguments

Rcss

style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle()

Rcssclass

character, style class

...

Further parameters, see documentation of graphics::grid

Examples

Run this code
# NOT RUN {
# 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")

# }

Run the code above in your browser using DataLab