represampling_kmeans_bootstrap
performs a non-overlapping spatial
block bootstrap by resampling at the level of irregularly-shaped partitions
generated by partition_kmeans.
represampling_kmeans_bootstrap(data, coords = c("x", "y"), repetition = 1, nfold = 10, nboot = nfold, seed1 = NULL, oob = FALSE, ...)
data |
|
---|---|
coords | vector of length 2 defining the variables in |
repetition | numeric vector: cross-validation repetitions
to be generated. Note that this is not the number of repetitions,
but the indices of these repetitions. E.g., use |
nfold | see partition_kmeans |
nboot | |
seed1 |
|
oob | |
... | additional arguments to be passed to partition_kmeans |