This function allows to user to find out a random combination of templates, number of groups and features in order to get an idea of the many available plots in the package tastypie.

pie_discover(which = c("all", "bake", "pro"))

Arguments

which

Allows to select a subset of the available templates.

If "all", the template is randomly chosen among all the available ones.
If "bake", the template is randomly chosen among the ones that can be used through pie_bake.
If "pro", the template is randomly chosen among the (more complex) ones that can be used through pie_bake_pro.

The default value is "all".

Value

A ggplot object. In particular, this function returns a pie (or similar) chart according to a random choice of template and the other features.

See also

See all the available templates displayed here!

Examples

pie_discover()

pie_discover("pro")