bb_plotBase.Rd
adds a plot created with baseR to a BentoBox layout
bb_plotBase( plot, x, y, width, height, params = NULL, just = c("left", "top"), default.units = "inches" )
plot | plot formula of base R plotting functions; ex: p <- ~plot(1:10) + abline(v = 2) |
---|---|
x | A numeric or unit object specifying x-location. |
y | A numeric or unit object specifying y-location. |
width | A numeric or unit object specifying width. |
height | A numeric or unit object specifying height. |
params | an optional "bb_params" object space containing relevant function parameters |
just | A string or numeric vector specifying the justification of the plot relative to its (x, y) location |
default.units | A string indicating the default units to use if x, y, width, or height are only given as numeric vectors |