spflow_sim: Simulate spatial interactions

Description Usage Arguments Value See Also

View source: R/spflow-simulations.R

Description

Simulate spatial interactions

Usage

1
2
3
4
5
6
7
spflow_sim(
  exogenous_variables,
  model_coefficients,
  inverted_filter,
  noise_sd,
  verbose = FALSE
)

Arguments

exogenous_variables

A matrix of exogenous variables

model_coefficients

A numeric vector of coefficients

inverted_filter

A matrix that represents an inverted spatial filter matrix (see spatial_filter())

noise_sd

A numeric which indicates the desired standard deviation of the simulated noise

verbose

A logical whether signal to noise ration should be printed

Value

A vector of simulated flows

See Also

Other spflow simulation functions: expand_flow_neighborhood(), spatial_filter()


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