Skip to contents

Author Last UpdatedStar

CRAN GitHub Version License

Package Help:
GPT-GTAPViz GTAPViz

Overview

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.

Key Features

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.

Installation

GTAPViz package can be installed directly from CRAN (recommended) using:

install.packages("GTAPViz")

To install a development or older version, you can use the GitHub repository via the following command in R:

install.packages("GTAPViz")

Package Helps

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:

GTAP Users

For GTAP users seeking minimal or no code modifications, please visit GTAPViz for GTAP Users.

Useful Packages for CGE Fellows

License & Author

GTAPViz is released under the MIT License. See the full license.

Author:
Pattawee Puangchit
Ph.D. Candidate, Agricultural Economics
Purdue University
Research Assistant at GTAP