list_to_randomized {shar} | R Documentation |
list_to_randomized
Description
Convert list to rd_* object.
Usage
list_to_randomized(list, observed = NULL)
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.
Value
rd_pat, rd_ras
See Also
randomize_raster
translate_raster
reconstruct_pattern
Examples
## Not run:
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)
## End(Not run)
[Package shar version 2.3 Index]