spflow-package: Spatial econometric interaction models in R

Description Network data Model estimation Author(s) References See Also


The spflow package provides function to estimate models of origin-destination flows with spatial autocorrelation. The implementation exploits the efficiency gains of the matrix formulation that avoids duplication of the data that describes the origins and the destinations. It offers new data structures and a convenient formula interface that allows to estimate the models with maximal efficiency and minimal effort for the user. The estimators are detailed in \insertCiteDargel2021;textualspflow.

Network data

The package provides a new class for representing network data. These classes help to exploit the relational structure of the data and ensure that all origins and destinations are correctly identified.

Model estimation

The spflow() function is the main function for estimation and can be used out of the box using the default configuration, which corresponds to the most general model possible. Fine grained control over the estimation procedure is given via the spflow_control() argument through which the user can change, for example, the estimation method or the way in which the covariates should be used.


Maintainer: Lukas Dargel lukas.dargel@mailbox.org (ORCID)


Other contributors:



See Also

Useful links:

spflow documentation built on Sept. 9, 2021, 5:06 p.m.