check_exoweights {sstvars} | R Documentation |
Checks whether the given exogenous transition weights for simulation are correctly specified.
Description
check_exoweights
checks whether the given exogenous transition weights for
simulation are correctly specified.
Usage
check_exoweights(M, exo_weights, how_many_rows, name_of_row_number)
Arguments
exo_weights |
Exogenous transition weights weights given for simulation in some context. |
how_many_rows |
how many rows the exogenous weights should have? |
name_of_row_number |
what is the name of the object whose value should determine the the number of rows in the exogenous weights? |
Details
Used by simulate.stvar, predict.stvar, GIRF, and GFEVD.
Value
Throws an error if the exogenous weights are incorrectly specified.
[Package sstvars version 1.2.1 Index]