Three-Step Floating Catchment Area method

spai_3sfca(p, s, W, step = 3)

Arguments

p

numeric vector, number of population at origin locations

s

numeric vector, capacity of services at supply locations

W

numeric matrix, distance or time matrix

step

numeric, number of the steps of the method to perform

Value

data.frame, depending on selected step

Examples

p <- 1:4
s <- 1:6
W <- matrix(1:24, ncol = 4, nrow = 6)
spai <- spai_3sfca(p, s, W, step = 3)