save_plots: Save fcoex object plots

Description Usage Arguments Value Examples

Description

Save plots into the directory specified by the directory argument. Note: If no directory is specified, it will save to tempdir(). A possible option is setting directory = "./Plots"

This function was modified from the CEMiTool package. Chunks of code were retained "as is"

Usage

1
2
3
4
save_plots(fc, name, force = FALSE, directory = "tempdir()")

## S4 method for signature 'fcoex'
save_plots(fc, name, force = FALSE, directory = "tempdir()")

Arguments

fc

Object of class fcoex.

name

The name of the file to be saved.

force

If the directory exists, execution will not stop.

directory

Directory into which the files will be saved.

Value

A pdf file or files with the desired plot(s)

Examples

1
2
data(fc)
save_plots(fc, name = "Example")

fcoex documentation built on Nov. 8, 2020, 6:45 p.m.