Learn R Programming

spflow (version 0.1.0)

add_details: Internal method to add details to a spflow_model-class()

Description

Internal method to add details to a spflow_model-class()

Usage

add_details(object, ...)

# S4 method for spflow_model add_details(object, model_matrices, flow_control, model_moments)

Arguments

model_matrices

A list as returned by spflow_model_matrix()

flow_control

A list as returned by spflow_control()

model_moments

A list as returned by spflow_model_moments()

Value

An object of class spflow_model

Details

The method adds the design matrix and the coefficient names to an spflow_model-class() object. It also calculates the fitted values and the residuals as well as a goodness-of-fit measure.