spflow_model-class()Internal method to add details to a spflow_model-class()
add_details(object, ...)# S4 method for spflow_model
add_details(object, model_matrices, flow_control, model_moments)
A list as returned by spflow_model_matrix()
A list as returned by spflow_control()
A list as returned by spflow_model_moments()
An object of class spflow_model
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.