get_all_config {GTAPViz}R Documentation

Print Plot and Export Configuration Snippets

Description

Retrieve full configuration code as a list for applying in the plot styling and export settings.

Usage

get_all_config(
  plot_style = "default",
  plot_config = TRUE,
  export_config = TRUE
)

Arguments

plot_style

Character. Plot style to use (currently only '"default"' is supported).

plot_config

Logical. If 'TRUE', prints the plot style configuration.

export_config

Logical. If 'TRUE', prints the export configuration.

Details

Onece printing into the console, users can simply copy and paste the entire list of configurations, rename it (if needed), and use it in your plot functions directly.

Value

A named list containing the current default values for all GTAPViz configuration options, including plot styles, table formats, and export parameters.

Author(s)

Pattawee Puangchit

Examples

# Input Path:
input_path <- system.file("extdata/in", package = "GTAPViz")
sl4.plot.data <- readRDS(file.path(input_path, "sl4.plot.data.rds"))

# Retrive configurations
get_all_config()


[Package GTAPViz version 1.1.3 Index]