Pattern reconstruction for homogeneous pattern
reconstruct_pattern_homo(
pattern,
n_random = 1,
e_threshold = 0.01,
max_runs = 1000,
no_change = Inf,
annealing = 0.01,
n_points = NULL,
window = NULL,
comp_fast = 1000,
weights = c(0.5, 0.5),
r_length = 250,
r_max = NULL,
return_input = TRUE,
simplify = FALSE,
verbose = TRUE,
plot = FALSE
)
rd_pat
ppp object with pattern.
Integer with number of randomizations.
Double with minimum energy to stop reconstruction.
Integer with maximum number of iterations if e_threshold
is not reached.
Integer with number of iterations at which the reconstruction will stop if the energy does not decrease.
Double with probability to keep relocated point even if energy did not decrease.
Integer with number of points to be simulated.
owin object with window of simulated pattern.
Integer with threshold at which summary functions are estimated in a computational fast way.
Vector with weights used to calculate energy. The first number refers to Gest(r), the second number to pcf(r).
Integer with number of intervals from r = 0
to r = rmax
for which
the summary functions are evaluated.
Double with maximum distance used during calculation of summary functions. If NULL
,
will be estimated from data.
Logical if the original input data is returned.
Logical if only pattern will be returned if n_random = 1
and return_input = FALSE
.
Logical if progress report is printed.
Logical if pcf(r) function is plotted and updated during optimization.
Kirkpatrick, S., Gelatt, C.D.Jr., Vecchi, M.P., 1983. Optimization by simulated annealing. Science 220, 671–680. <https://doi.org/10.1126/science.220.4598.671>
Tscheschel, A., Stoyan, D., 2006. Statistical reconstruction of random point patterns. Computational Statistics and Data Analysis 51, 859–871. <https://doi.org/10.1016/j.csda.2005.09.007>
Wiegand, T., Moloney, K.A., 2014. Handbook of spatial point-pattern analysis in ecology. Chapman and Hall/CRC Press, Boca Raton. ISBN 978-1-4200-8254-8
if (FALSE) {
pattern_recon_a <- reconstruct_pattern_homo(species_a, n_random = 19,
max_runs = 1000)
pattern_recon_b <- reconstruct_pattern_homo(species_a, n_points = 70,
n_random = 19, max_runs = 1000)
}
Run the code above in your browser using DataLab