make_graph_icon: make an icon for type of graph

Description Usage Arguments Value Examples

View source: R/misc.R

Description

Stolen from ggplot – but this is now deprecated!

Usage

1

Arguments

x

type of graph. E.g., "boxplot", "abline", ...

...

dots

Value

a recipe to draw an icon

Examples

1
2
##' ## Doesn't work as of ggplot2 version 0.9.2
##library(grid); grid.newpage(); grid.draw(make_graph_icon("hist"))

jverzani/ProgGUIinR documentation built on May 20, 2019, 5:17 a.m.