Learn R Programming

epiCo (version 1.0.1)

neighborhoods: Neighborhoods from real travel distances in Colombia

Description

Function to build neighborhoods from real travel distances inside Colombia by land or river transportation.

Usage

neighborhoods(query_vector, threshold = 2)

Value

neighborhood object according to the introduced threshold.

Arguments

query_vector

Codes of the municipalities to consider for the neighborhoods.

threshold

Maximum traveling time around each municipality.

Examples

Run this code
query_vector <- c("05001", "05002", "05004", "05021", "05030", "05615")
neighborhoods(query_vector, 2)

Run the code above in your browser using DataLab