ui.formula: shinypipe UI for getting creating an R formula

Description Usage Arguments

View source: R/p_formula.R

Description

shinypipe UI for getting creating an R formula

Usage

1
2
ui.formula(id, y, x, intercept = NULL, simpleFormula = F,
  theme = "large")

Arguments

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')


rajkar86/shinypipe documentation built on Aug. 22, 2021, 9:48 p.m.