create.graphics.path: Create a path to the desired file where all graphics are...

Description Usage Arguments Examples

View source: R/create.graphics.path.R

Description

This function creates a filepath to save a graphic to the folder where all graphics are stored for my masters thesis. The file can be replaced if the parameter 'replace' is set to TRUE. Otherwise this function checks whethter this file already exists and alters the filename if necessary.

Usage

1
create.graphics.path(filename = "RPlot", replace = F)

Arguments

filename

A string which is going to be the name the output file. Default value is "RPlot" replace Boolean to indicate whether to check if the file should be replaced if it already exists. Default value is FALSE.

Examples

1
2
3
4
create.graphics.path(filename = "Signal_intensities", replace = F)

This creates a new file called Signal_intensities.tex in the folder where the graphics for the Tex-file are stored.
If there is already a file with this name it is changed to Signal_intensities_1.tex.

juliusfoerstel/LaseR documentation built on May 24, 2020, 11:54 a.m.