powered by
Initialise a g2r chart.
g2r
g2(data = NULL, asp = NULL, ..., render = TRUE, width = NULL, height = NULL, elementId = NULL)
A data.frame containing data to chart.
data.frame
Mapping aesthetics as returned by asp.
asp
Any general options.
Whether to render the chart.
Dimensions of chart.
ID of DOM container.
DOM
# NOT RUN { g2(cars, asp(speed, dist)) %>% fig_point() # }
Run the code above in your browser using DataLab