R/int-splitRows.R

Defines functions splitRows

# this code is a copy the function parallel:::splitRows so that I can pass an R CMD check
# warning.

splitRows <- function(x, ncl) {
  lapply(parallel::splitIndices(nrow(x), ncl), function(i) x[i, , drop = FALSE])
}

Try the imputeMulti package in your browser

Any scripts or data that you put into this service are public.

imputeMulti documentation built on March 7, 2023, 8:37 p.m.