random_ggplot: A Random ggplot

View source: R/Plot.R

random_ggplotR Documentation

A Random ggplot

Description

This function returns a ggplot object, which can be passed to renderPlot and plotOutput

Usage

random_ggplot(
  type = c("random", "point", "bar", "boxplot", "col", "tile", "line", "bin2d",
    "contour", "density", "density_2d", "dotplot", "hex", "freqpoly", "histogram",
    "ribbon", "raster", "tile", "violin")
)

Arguments

type

type of the geom. Can be any of "random", "point", "bar", "boxplot","col", "tile", "line", "bin2d", "contour", "density", "density_2d", "dotplot", "hex", "freqpoly", "histogram", "ribbon", "raster", "tile", "violin" and defines the geom of the ggplot. Default is "random", and chooses a random geom for you.

Value

a ggplot


ThinkR-open/shinipsum documentation built on Feb. 10, 2024, 2:16 a.m.