dyads: Transform matrices into dyadic data.frames

Description Usage Arguments Value Examples

View source: R/dyads.R

Description

Matrices and list with matrices will be transformed into data.frames and labeled. The type of data input is recognized automatically. Year input can be a vector of year or one single year. Note that high RAM is required to execute this function for all countries especially for Exiobase and larger time frames.

Usage

1
dyads(year, data, country)

Arguments

year

Numeric vector or number for the respective year/s

data

Data object/ matrix that was created before

input

String or character vector for input country/ies

output

String or character vector for output country/ies; note that data object cannot be already on one country as e.g. specified through the target argument in readExio

Value

data.frame

Examples

1
dyads(year = 1995:1996, dataobject, output = c("DEU", "CHN"))

DvP17/mrio documentation built on May 6, 2020, 5 a.m.