rp.grid {rpanel} | R Documentation |
A subsidiary grid is defined at a specified row and column location within an rpanel.
rp.grid(panel, name, pos, bg = NULL, parent = window, ...)
panel |
the panel in which the slider appears. This may be passed as a panelname string or the panel object itself. |
name |
a string defining the name of the grid. |
pos |
a list containing components which define various features of the grid; see the help information on "grid" mode in |
bg |
a character variable defining a background colour. (This is not the same as colours in R, but simple colours are available.) |
parent |
this specifies the widget inside which the grid should appear. In the current version of rpanel, it should not normally be used. |
... |
any other arguments will be assumed to refer to components of |
The role of this function is to specify a subsidiary grid at a particular row and column position of the parent grid. Nesting of grids within grids is permitted. See the help information on "grid" mode in rp.pos
for a description of the settings of the pos
argument.
If the parameter panel is the panelname string the same string is returned. If the panel object is used the altered panel is assigned to both the calling level and panel's environment level.
rpanel: Simple interactive controls for R functions using the tcltk package. Journal of Statistical Software, 17, issue 9.
if (interactive()) { rp.pos("grid") }