Skip to contents

Simple constructor for class 'aggmod'

Usage

new_aggmod(x = list())

Arguments

x

A list storing the aggregate model output.

Value

An object of class "aggmod", which is a named list with four elements:

args

A named list storing the user arguments for the aggregate model.

module_order

The original but ordered specification.

module_collection

The above specification with two added columns that store the model object for each module and the dataset used for estimation, including fitted values for the dependent variable.

full_data

A tibble or data.frame containing the complete original data for the aggregate model and the fitted values of each module.