box {Rcssplot}R Documentation

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


# draw a box around an existing plot
plot(c(0, 1), c(0, 1), type="n", frame=FALSE)
box(lwd=3)


[Package Rcssplot version 1.0.0 Index]