Learn R Programming

sfcr (version 0.2.1)

.validate_matrix: Validate a balance-sheet or transactions-flow matrix on the simulated data

Description

Validate a balance-sheet or transactions-flow matrix on the simulated data

Usage

.validate_matrix(mtrx, m, which = "tfm", tol, rtol = FALSE)

Arguments

mtrx

A balance-sheet or transactions-flow matrix

m

A baseline model in matrix format -- get from attributes or with sfcr_get_matrix() function.

which

A balance-sheet or a transactions-flow matrix?

tol

Tolerance for convergence

rtol

Relative tolerance?