save_plots {fcoex} | R Documentation

## Save fcoex object plots

### 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

    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

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

[Package fcoex version 1.4.0 Index]