Learn R Programming

spflow (version 0.1.0)

example_data: Simulated data for stylized versions of Germany and the USA

Description

The package uses the same stylized country examples as those presented by Yang2017;textualspflow. The first example is a stylized version of Germany with 16 states. The second example is a stylized version of the USA with 51 states.

We provide spatial objects that contain the geography of our example, as well as two sp_network_nodes-class() objects. Finally, there is an sp_multi_network-class() containing the two networks and four network pair objects based on the same example.

The simulation parameters are given as rho for the auto-regressive parameter, delta for the impact of the exogenous variables and sd_error for standard deviation of the simulated Gaussian noise. They are used to simulate two flow vectors y2 and y9 for each network pair inside the multi_net_usa_ge.

Usage

multi_net_usa_ge

germany_grid

usa_net

usa_grid

germany_net

simulation_params

Arguments

Format

An object of class sp_multi_network of length 1.

An object of class sf (inherits from data.frame) with 16 rows and 3 columns.

An object of class sp_network_nodes of length 1.

An object of class sf (inherits from data.frame) with 51 rows and 3 columns.

An object of class sp_network_nodes of length 1.

An object of class list of length 3.

References