RDocumentation
Moon
Learn R
Search all packages and functions
ascii (version 1.1)
fig: Insert figure...
Description
Insert figure
Usage
fig(file, graph, format, ...)
Arguments
file
character string (
graph
a recordedplot, a lattice plot, or a ggplot (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
Details
graph
can be used with
export
function to insert an R graphic.