Defines functions patches_for_each_direction

#' Function for gathering the patches for each direction
#' This function will gather the patches in each of the 8 bins and ready it for
#' patches_for_each_direction()
#' @noRd

patches_for_each_direction <- function(indexed_pairs){
clusterlist <- list()

for (i in names(indexed_pairs)){
	direction <- indexed_pairs[[as.character(i)]]
	clusterlist[[as.character(i)]] <- clustered_patches(direction)


Try the molaR package in your browser

Any scripts or data that you put into this service are public.

molaR documentation built on Feb. 16, 2023, 10:33 p.m.