checkbox | R Documentation |
Construct a checkbox widget
checkbox(parent, label, initial = 0) checkcolumn(parent, label, rows, label.rows = TRUE)
parent |
the parent window. |
label |
the label for the enclosing frame. |
initial |
the initial state of the checkbox |
rows |
the row labels |
label.rows |
whether to label rows. |
The checkbox
function makes a single checkbox widget, while
checkcolumn
makes a widget containing a column of
checkboxes.
Returns an object of class checkbox or checkcolumn with elements
|
the widget |
|
function that returns the state of the checkboxes |
|
the tclVars representing the state of the checkboxes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.