Rcssplot (version 1.0.0)

box: Add a styled box around a plot

Description

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

Usage

box(which = "plot", Rcss = "default", Rcssclass = NULL, ...)

Arguments

which

character specifying where to draw a box; see documentation of box()

Rcss

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

Rcssclass

sub class of style sheet

...

Further parameters, see documentation of graphics::box

Examples

Run this code
# NOT RUN {
# draw a box around an existing plot
plot(c(0, 1), c(0, 1), type="n", frame=FALSE)
box(lwd=3)

# }

Run the code above in your browser using DataCamp Workspace