Learn R Programming

stevethemes (version 0.1.0)

example_plot: Create an example plot (in ggplot2) for experimenting with different styles

Description

example_plot() allows you to experiment with some ggplot2 themes, like those in this package, by seeing them applied to some example plots.

Usage

example_plot(type = "bar")

Value

example_plot() returns a plot made in ggplot2, allowing the user to experiment with different themes to see which ones they like the best.

Arguments

type

a type

Author

Steven V. Miller

Details

I'll add more here in a little bit.

Examples

Run this code

library(ggplot2)

example_plot()

example_plot(type = "faceted_line")

example_plot(type = "scatter")

Run the code above in your browser using DataLab