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"))

ProgGUIinR documentation built on May 30, 2017, 8:25 a.m.