Learn R Programming

shar (version 2.3.1)

list_to_randomized: list_to_randomized

Description

Convert list to rd_* object.

Usage

list_to_randomized(list, observed = NULL)

Value

rd_pat, rd_ras

Arguments

list

List

observed

Observed

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.

See Also

randomize_raster, translate_raster, reconstruct_pattern

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab