Dotplot

dai.dotplot(
  dataset,
  variable_name,
  mark = "point",
  render = TRUE,
  progress = getOption("dai.progress", TRUE)
)

Arguments

dataset

DAIFrame representing the dataset.

variable_name

The name of the variable on which the dots are calculated.

mark

Default value is "point" (alternative is "square" or "bar").

render

Whether to directly render the plot or not

progress

Whether to display a progress bar.

Value

JSON of the plot in Vega format if render=FALSE.