rsp uses the RSP technique to update the matrix of technical input coefficients A from an InputOutput object created from as.inputoutput. The function calls upon import.total and export.total to calculate the imports and exports.
The updated matrix of technical input coefficients
Details
The new matrix of technical coefficients is calculated as follows:
$$A_{new} = \hat{p} A$$
where \(\hat{p}\) is a diagonal matrix with each diagonal componenet calculated as
$$p_i = \frac{X_i - E_i}{X_i - E_i + M_i}$$
References
Nazara, Suahasil & Guo, Dong & Hewings, Geoffrey J.D., & Dridi, Chokri, 2003. "PyIO. Input-Output Analysis with Python". REAL Discussion Paper 03-t-23. University of Illinois at Urbana-Champaign. (http://www.real.illinois.edu/d-paper/03/03-t-23.pdf)