travel_mat_from_folder: Title

View source: R/travel_matrix_from_folder.R

travel_mat_from_folderR Documentation

Title

Description

Title

Usage

travel_mat_from_folder(dir, reference = NA, sparse = TRUE, progress = TRUE)

Arguments

dir

A character string for the location of individual travel time rasters (NOTE: this folder should ONLY contain .tif files for travel time rasters).

reference

A raster files used to determine which pixels should be included (typically this is the population raster).

sparse

TRUE/FALSE: Should pixels with NA values be remove? Almost always this should be TRUE.

progress

TRUE/FALSE Show a progress bar?

Value

A matrix that is n_pixels by n_facilities.


PATH-Global-Health/catchment documentation built on Feb. 16, 2025, 12:39 a.m.