qpm_diff: Compare two models structurally

View source: R/blocks.R

qpm_diffR Documentation

Compare two models structurally

Description

Shows what a customization actually changed: variables, shocks and parameters added or removed, equations changed, and recalibrations. This is how a model review works when country teams adapt a template.

Usage

qpm_diff(old, new, tol = 1e-10)

Arguments

old, new

qpm_model objects.

tol

Relative tolerance for calling a parameter changed.

Value

An object of class qpm_model_diff, printed as a report.

Examples

qpm_diff(qpm_template("bkl"),
         add_block(qpm_template("bkl"), block_food_cpi()))

qpmR documentation built on Sept. 29, 2026, 5:10 p.m.