makeContrastControl | R Documentation |
Make a select field for picking one or more contrasts
makeContrastControl(
id,
contrasts,
contrast_numbers,
multiple = FALSE,
show_controls = TRUE,
select_all = FALSE
)
id |
An id to apply to form elements |
contrasts |
A list of lists specifying contrasts. |
contrast_numbers |
A named vector of indices corresponding to
|
multiple |
Allow multiple contrasts to be selected? |
show_controls |
Show controls? Setting to false will cause them to be hidden. |
select_all |
Select all contrasts by default? |
output An HTML tag object that can be rendered as HTML using as.character()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.