zerotradeflow: An Implementation for the Gravitational Models of Trade

A system for creating the bilateral trade flow between a country pair equal to zero. You provide the data, tell get_zerotradeflow() which variables are of interest and it expands the base by creating the bilateral zero trade flow. The bases on the flow of trade between countries only report positive trade (greater than zero), however, for some analyzes of gravitacional models, data on zero flow is also necessary. Some examples for Gravity Model: Figueiredo and Loures (2016) <doi:10.5935/0034-7140.20160015> and Yotov, Piermartini, Monteiro and Larch <https://vi.unctad.org/tpa/web/docs/vol2/book.pdf>.

Getting started

Package details

AuthorAlexandre Loures [aut, cre] (<https://orcid.org/0000-0002-1288-0135>)
MaintainerAlexandre Loures <alexandre.loures@protonmail.com>
LicenseMIT + file LICENSE
Version0.1.0
URL https://github.com/AlexandreLoures/zerotradeflow
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("zerotradeflow")

Try the zerotradeflow package in your browser

Any scripts or data that you put into this service are public.

zerotradeflow documentation built on July 18, 2022, 9:06 a.m.