autoplot | R Documentation |
The Crunch autoplot methods generate ggplots
that are tailored to various
Crunch objects. This allows you to visualize the object without bringing it
into memory. You can select between three families of plots, which will
attempt to accomodate the dimensionality of the plotted object. These plots
can be further extended and customized with other ggplot methods.
## S3 method for class 'DatetimeVariable'
autoplot(object, ...)
## S3 method for class 'NumericVariable'
autoplot(object, ...)
## S3 method for class 'CategoricalVariable'
autoplot(object, ...)
## S3 method for class 'CategoricalArrayVariable'
autoplot(object, ...)
## S3 method for class 'MultipleResponseVariable'
autoplot(object, ...)
## S3 method for class 'CrunchCube'
autoplot(object, ...)
## S3 method for class 'CrunchCubeCalculation'
autoplot(object, plot_type = "dot", ...)
## S3 method for class 'tbl_crunch_cube'
autoplot(object, plot_type = c("dot", "tile", "bar"), measure, ...)
object |
A Crunch variable or cube aggregation |
... |
additional plotting arguments |
plot_type |
One of |
measure |
The measure you wish to plot. This will usually be |
A ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.