Graph: Write object and capture file information

Description Usage Arguments Value Examples

View source: R/Graph.R

Description

Write object and capture file information

Usage

1
2
3
4
5
6
7
Graph(
  file.name = "data.csv",
  description = "Result file",
  write.fcn = guessWriteFcn(file.name),
  date = FALSE,
  ...
)

Arguments

file.name

file to write to the source "Result" directory

description

describes object to write

write.fcn

function for writing file of object type. Will open graphics device.

date

logical for adding date to filename

...

arguments passed to write.fcn

Value

File information list

Examples

1
2
3
4
5
6
7
## Not run: 
 # Within adapr R Script body:
 Graph("hist.pdf","Gaussian RV")
 hist(rnorm(100))
 dev.off()

## End(Not run) 

gelfondjal/adapr documentation built on Feb. 2, 2020, 1:32 a.m.