Skip to contents

Convert list to rd_* object.

Usage

list_to_randomized(list, observed = NULL)

Arguments

list

List

observed

Observed

Value

rd_pat, rd_ras

Details

Convert list of randomized point pattern or raster layer to a rd_* object that can be used with all functions of the package. The main purpose of this utility function is to allow an easy parallelization of the randomization approach.

For more information, please see the "Parallelization" article.

Examples

if (FALSE) { # \dontrun{
fit_list <- lapply(X = 1:39, FUN = function(i) {fit_point_process(pattern = species_a,
n_random = 1, simplify = TRUE, return_input = FALSE, verbose = FALSE)})

list_to_randomized(list = fit_list, observed = species_a)
} # }