fig: Insert figure

View source: R/export.r

figR Documentation

Insert figure

Description

graph can be used with export function to insert an R graphic.

Usage

fig(file = NULL, graph = NULL, format = NULL, ...)

Arguments

file

character string (

graph

a recordedplot, a lattice plot, a ggplot, or an expression producing a plot (optional if the file already exists)

format

jpg, png or pdf (or guessed with the file name)

...

additional arguments (passed to format options)

Value

A fig object

Author(s)

David Hajage


ascii documentation built on May 29, 2024, 6:10 a.m.

Related to fig in ascii...