show_diff: Show differences between two models

show_diffR Documentation

Show differences between two models

Description

Show differences between two MixAR models in a way that enables quick comparison between them. This is a generic function, package mixAR defines methods for MixAR models.

Usage

show_diff(model1, model2)

Arguments

model1,model2

the MixAR models to be compared.

Details

show_diff() is a generic function with dispatch on both arguments.

show_diff() prints the differences between two models in convenient form for comparison. The methods for MixAR models allow to see differences between similar models at a glance.

Value

The function is called for the side effect of printing the differences between the two models and has no useful return value.

Methods

signature(model1 = "MixAR", model2 = "MixAR")
signature(model1 = "MixARGaussian", model2 = "MixARgen")
signature(model1 = "MixARgen", model2 = "MixARGaussian")
signature(model1 = "MixARgen", model2 = "MixARgen")

Author(s)

Georgi N. Boshnakov

Examples

## the examples reveal that the models below
##        differ only in the noise distributions
show_diff(exampleModels$WL_Ct_3, exampleModels$WL_Bt_1)
show_diff(exampleModels$WL_Bt_1, exampleModels$WL_Ct_3)
show_diff(exampleModels$WL_Ct_2, exampleModels$WL_Bt_3)

GeoBosh/mixAR documentation built on May 9, 2022, 7:36 a.m.