man-roxygen/rox_spcv_coords.R

#' @description
#' Splits data by clustering in the coordinate space.
#' See the upstream implementation at `sperrorest::partition_kmeans()` and
#' Brenning (2012) for further information.
#'
#' @section Parameters:
#' * `folds` (`integer(1)`)\cr
#'   Number of folds.
#'
#' @details
#' Universal partitioning method that splits the data in the coordinate space.
#' Useful for spatially homogeneous datasets that cannot be split well with
#' rectangular approaches like `ResamplingSpCVBlock`.
#'
mlr-org/mlr3spatiotempcv documentation built on Feb. 9, 2024, 9:30 p.m.