Skip to contents

Select data to be used and map variables to aesthetics to produce a chart, customise common elements and get code to reproduce the chart.

Usage

e61_chart_maker(
  data = NULL,
  controls = c("labs", "parameters", "appearance", "filters", "code"),
  viewer = getOption(x = "esquisse.viewer", default = "dialog")
)

Arguments

data

a data.frame, you can pass a data.frame explicitly to the function, or choose one in global environment after loading.

controls

Controls menu to be displayed. Use NULL to hide all menus.

viewer

Where to display the gadget: "dialog", "pane" or "browser" (see shiny::viewer()).

Value

You can view code used to produce the chart, copy it or insert it in current script.

Examples

if (FALSE) {
# Launch e61_chart_maker in RStudio :
e61_chart_maker(iris)

# Launch e61_chart_maker in without data specified :
e61_chart_maker()
}