Skip to contents

Parallelization core functions

Functions for parallelizing chopin, terra and sf geospatial operations

par_grid()
Parallelize spatial computation over the computational grids
par_hierarchy()
Parallelize spatial computation by hierarchy in input data
par_multirasters()
Parallelize spatial computation over multiple raster files

par_grid preparation functions

Regular grid or equal number partitioning to run par_grid

par_pad_grid()
Get a set of computational grids
par_pad_balanced()
Extension of par_make_balanced for padded grids
par_merge_grid()
Merge adjacent grid polygons with given rules
par_split_list()
Split grid list to a nested list of row-wise data frames

chopin calculation functions

Functions for streamlining oft-used operations

extract_at()
Extract raster values with point buffers or polygons
summarize_aw()
Area weighted summary using two polygon objects
summarize_sedc()
Calculate Sum of Exponentially Decaying Contributions (SEDC) covariates

Helper function

Parallelization helper function

par_convert_f()
Map arguments to the desired names

Dataset

Bundled data in chopin package

prediction_grid
Regular grid points in the mainland United States at 1km spatial resolution
ncpoints
Mildly clustered points in North Carolina, United States