knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
NOTE: This is a toy package created for the medium test of the project Network Analysis for Input-Output Tables.
The goal of IOcoef is to calculate the consumption coefficient in the input-output table.
You can install the development version of IOcoef from GitHub with:
# install.packages("devtools") devtools::install_github("Carol-seven/IOcoef")
A fairly common task when dealing with input-output table is the need to
compute the direct and complete consumption coefficient.
This is what IOcoef::iocoef()
do.
library(IOcoef) adj <- matrix(sample(25), 5, 5) X <- as.vector(101:105) iocoef(adj, X, type = "direct") iocoef(adj, X, type = "complete")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.