Movatterモバイル変換


[0]ホーム

URL:


{fio}

Friendly & Fast Input-Output Analysis

CRAN statusR-universeR-CMD-checkCodecov test coverageDownloads

{fio} (Friendly Input-Output) is a R packagedesigned for input-output analysis, emphasizing usability for Excelusers and performance. It includes anRStudio Addin and asuite of functions for straightforward import of input-output tablesfrom Excel, either programmatically or directly from the clipboard.

The package is optimized for speed and efficiency. It leverages theR6 class for clean, memory-efficientobject-oriented programming. Furthermore, all linear algebracomputations are implemented inRust to achieve highly optimizedperformance.

Installation

CRAN Release

You can install the latest stable release of {fio} from CRANwith:

install.packages("fio")

Latest tested version

install the latest tested but unreleased version from themain branch,use the precompiled binaries available onR-universe:

install.packages("fio",repos =c("https://albersonmiranda.r-universe.dev","https://cloud.r-project.org"))

Development version

For the cutting-edge development branches from Github, you’ll need tocompile it from source. This requiresRust to be installed on yoursystem. You can install Rust using the following commands:

Getting Started

If you are just getting started with{fio}, we recommendyou to read thevignettesfor a comprehensive overview of the package.

Examples

Calculate Leontief’s inverse from brazilian 2020 input-outputmatrix:

# load included datasetiom_br<- fio::br_2020# calculate technical coefficients matrixiom_br$compute_tech_coeff()# calculate Leontief's inverseiom_br$compute_leontief_inverse()

And pronto! 🎉, you’re all good to carry on with your analysis. Youcan evoke the Data Viewer to inspect the results withiom_br$technical_coefficients_matrix |> View() andiom_br$leontief_inverse_matrix |> View().

Leontief’s inverse from brazilian 2020 input-outputmatrix

Related tools

Other great tools for input-output analysis in R include:


[8]ページ先頭

©2009-2025 Movatter.jp