Skip to contents

Simple constructor for class 'osem'

Usage

new_osem(x = list())

Arguments

x

A list storing the osem output.

Value

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

args

A named list storing the user arguments for the OSEM 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 OSEM model and the fitted values of each module.