Learn R Programming

DEVis (version 1.0.1)

set_output_mode: Determine if visualizations are written to file, printed to screen, or both.

Description

This function initializes the output mode for the package to determine if visualizations should be written to file, printed to screen, or both.

Usage

set_output_mode(toggle = "both")

Arguments

toggle

Desired output mode. Determines how output plot data will be displayed. Options are "screen", "file", or "both".

Value

This function does not return a value.

Examples

Run this code
# NOT RUN {
#Don't save files, just print to the screen.
set_output_mode("screen")

#Print to the screen and save files to appropriate locations.
set_output_mode("both")

#Save files to appropriate locations, but do not print them to screen.
set_output_mode("file")

# }

Run the code above in your browser using DataLab