View source: R/travel_matrix_from_folder.R
travel_mat_from_folder | R Documentation |
Title
travel_mat_from_folder(dir, reference = NA, sparse = TRUE, progress = TRUE)
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? |
A matrix that is n_pixels by n_facilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.