GTAPViz is an R package designed to streamline the processing and visualization of GTAP-CGE results. While primarily built for GTAP simulations, it also supports other .har and .sl4 datasets.
With intuitive commands and automated adjustments, users can create, customize, and export high-quality visualizations for journal publications, economic analysis, and research reports—all with minimal coding.
This package streamlines the creation of figures and tables from .har and .sl4 results, making academic presentations effortless. Some key features are:
Effortless Multi-Plot Generation – Automatically adjusts dimensions, facets, and layout with minimal input.
Smart Plot Adjustments – Fine-tune visuals easily without manual sizing or layout tweaks.
Dual Export Plot Formats – Instantly save high-resolution PNG and PDF outputs for slides, papers, and LaTeX.
Publication-Ready Pivot Tables – Generate clean tables alongside figures—ideal for academic papers.
Streamlined Styling – Customize colors, fonts, and legends through simple, flexible options.
Powerful Yet Simple – Built on ggplot2, with intuitive TRUE/FALSE switches—no advanced coding needed.
Self-Contained Help – Includes a detailed vignette and internal help—no need to search online.
GTAPViz can be installed from GitHub using the following command in R:
devtools::install_github("Bodysbobb/GTAPViz")
The most interactive package help is available via ChatGPT GTAPViz, specifically designed to assist with the GTAPViz package!
For complete instructions on using this package and exploring practical examples:
For GTAP users seeking minimal or no code modifications, please visit GTAPViz for GTAP Users.
Pattawee Puangchit Ph.D. Candidate, Agricultural Economics Purdue University Research Assistant at GTAP
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.