shinypipe UI for getting creating an R formula
1 2 | ui.formula(id, y, x, intercept = NULL, simpleFormula = F,
theme = "large")
|
id |
namespace id (string) |
y |
For y selection, list of params for either shiny::selectizeInput or shiny::radioButtons as determined by theme parameter. inputId should not be specified, and for selectizeInput, 'multiple' should not be specified (default for label for the widget is "Y"). In most cases, choices is the only element that is actually needed. |
x |
For x selection, list of params for either shiny::selectizeInput or shiny::radioButtons as determined by theme parameter. inputId should not be specified, and for selectizeInput, 'multiple' should not be specified (default for label for the widget is "X"). In most cases, choices is the only element that is actually needed to be specified. |
intercept |
default value for whether to use intercept (if user doesn't need this control, set it to NULL, and control the parameter through s.formula) |
simpleFormula |
boolean indicating if the UI needs to be restricted to cases with only one explanatory variable |
theme |
'small' or 'large' (default is 'large') |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.