tsfca: Calculate Two-Step Floating Catchment Areas (2SFCA)

Description Usage Arguments Details Value

View source: R/methods.R

Description

Calculate the accessibility index using the two-step floating catchment area (2SFCA) method.

Usage

1
tsfca(dist_table, supply, demand, dist, dist_threshold, supply_vol, demand_vol)

Arguments

dist_table

A data frame containing an origin-destination (OD) table, with additional columns for supply and demand volumes.

supply

The name of the column in 'dist_table' that uniquely identifies supply points (hospitals, physicians, etc.).

demand

The name of the column in 'dist_table' that uniquely identifies demand points (census tracts, residences, etc.).

dist

The name of the column in 'dist_table' that contains the distance between the 'supply' and the 'demand'.

dist_threshold

The distance threshold defining catchment areas.

supply_vol

The name of the column in 'dist_table' that contains supply volumes (# of hospital beds, # of physicians, etc.).

demand_vol

The name of the column in 'dist_table' that contains demand volumes (population counts, etc.).

Details

Luo & Wang 2003, DOI:10.1068/b29120

Value

A data frame.


chris31415926535/twostepr documentation built on Jan. 2, 2022, 1:24 a.m.