Learn R Programming

spflow (version 0.1.0)

spflow_model: Internal function to construct a spflow_model-class()

Description

Internal function to construct a spflow_model-class()

Usage

spflow_model(
  ...,
  estimation_results,
  estimation_control,
  N,
  sd_error,
  R2_corr = NULL,
  resid = NULL,
  fitted = NULL,
  spatial_filter_matrix = NULL,
  design_matrix = NULL,
  model_moments = NULL
)

Arguments

...

Further arguments passed to more specific classes in accordance to the estimation method

estimation_results

A data.frame of estimation results()

estimation_control

A list of control parameters

N

A numeric indicating the number of observations

sd_error

A numeric which reports the

R2_corr

A numeric which reports a pseudo R^2 measure

resid

A numeric vector of regression residuals

fitted

A numeric vector of fitted values

spatial_filter_matrix

A matrix which represents the spatial filter

design_matrix

The design matrix/matrices of the model