All functions

dat() `dat<-`()

Generic for accessing the data inside spflow network classes

multi_net_usa_ge germany_grid usa_net usa_grid germany_net simulation_params

Simulated data for stylized versions of Germany and the USA

id() `id<-`()

Generic for accessing the ids of spflow network classes

map_flows()

Geographic representation of origin-destination flows

mcmc_results()

Access the sampling results of a spflow_model_mcmc-class()

neighborhood() `neighborhood<-`()

Generic for accessing the neighborhood matrix inside spflow network classes

nnodes()

Generic for accessing the node count of spflow network classes

npairs()

Generic for accessing the node pairs count of a sp_network_pair-class()

pair_merge()

Generic for merging information on origins and destination to node pairs inside spflow network classes

paris10km_municipalities paris10km_commuteflows paris10km_neighborhood

Example data for commuting flows within Paris

pull_member()

Generic for accessing a sp_network_pair-class() or a sp_network_nodes-class() inside a sp_multi_network-class()

results()

Generic for accessing the results of a spflow_model-class().

sd_error()

Generic for accessing the standard deviation of the residual inside a spflow_model-class().

id(<sp_multi_network>) dat(<sp_multi_network>) neighborhood(<sp_multi_network>) pull_member(<sp_multi_network>)

Class sp_multi_network

sp_multi_network()

Create an S4 class that contains sp_network_nodes() and sp_network_pair() for one or multiple networks

dat(<sp_network_nodes>) `dat<-`(<sp_network_nodes>) id(<sp_network_nodes>) `id<-`(<sp_network_nodes>) neighborhood(<sp_network_nodes>) `neighborhood<-`(<sp_network_nodes>) nnodes(<sp_network_nodes>)

sp_network_nodes Class

sp_network_nodes()

Create a sp_network_nodes-class()

dat(<sp_network_pair>) `dat<-`(<sp_network_pair>) id(<sp_network_pair>) `id<-`(<sp_network_pair>) npairs(<sp_network_pair>) nnodes(<sp_network_pair>)

Class sp_network_pair

sp_network_pair()

Create an S4 object that contains information on origin-destination pairs

spflow()

Estimate spatial interaction models that incorporate spatial dependence

spflow_control()

Define details of the estimation procedure with the spflow() function.

coef(<spflow_model>) fitted(<spflow_model>) nobs(<spflow_model>) predict(<spflow_model>) resid(<spflow_model>) results(<spflow_model>) sd_error(<spflow_model>) logLik(<spflow_model_mle>) varcov(<spflow_model_mle_s2sls_ols>) mcmc_results(<spflow_model_mcmc>)

Class spflow_model

spflow_network_classes

spflow network classes

varcov()

Generic for accessing the variance-covariance matrix of the parameters inside a spflow_model-class().