check_exoweights: Checks whether the given exogenous transition weights for...

View source: R/argumentChecks.R

check_exoweightsR 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.


sstvars documentation built on April 11, 2025, 5:47 p.m.