Nothing
spat.folds <- function(coords, nfolds = 10, size = 1000) {
data_sf <- sf::st_as_sf(as.data.frame(coords[, 2:1]), coords = c("longitude", "latitude"), crs = 4326)
cv_blocks <- blockCV::cv_spatial( x = data_sf, k = nfolds, size = size, hexagon = FALSE, report = FALSE,
selection = "random", iteration = 100, progress = FALSE, plot = FALSE )$folds_list
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.