Creates an aesInput control on a Shiny UI.

aesInput(
  inputId,
  label,
  data,
  allow = c("factor", "numeric"),
  picker = "basic",
  vs = FALSE
)

Arguments

inputId

The input slot that will be used to access the value.

label

Display label for the control, or NULL for no label.

data

The data.frame to use for populating the selectize dropdown.

allow

What types of column from data to use. Default: c("factor", "numeric").

picker

"basic" (default), "multi", "color", "shape", or "pattern".

vs

If TRUE, then instead of showing the values in the column, combinations of values will be displayed instead.

Value

A list of aesInput values.

See also

Other aesInput: ai.aes(), ai.column(), ai.flatten(), ai.scales(), ai.subset(), ai.values()