This article was moved to https://zhiyzuo.github.io/installation-rattle/ !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| points_in_distance_parallel <- function(in_pts, | |
| maxdist, | |
| ncuts = 10) { | |
| require(doParallel) | |
| require(foreach) | |
| require(data.table) | |
| require(sf) | |
| # convert points to data.table and create a unique identifier | |
| pts <- data.table(in_pts) |