Skip to content
bb01e67
18 lines (16 sloc) 586 Bytes
#' Split array, apply function, and discard results.
#'
#' For each slice of an array, apply function and discard results
#'
#' @template ply
#' @template a-
#' @template -_
#' @export
a_ply <- function(.data, .margins, .fun = NULL, ..., .expand = TRUE,
.progress = "none", .inform = FALSE,
.print = FALSE, .parallel = FALSE, .paropts = NULL) {
pieces <- splitter_a(.data, .margins, .expand)
l_ply(.data = pieces, .fun = .fun, ...,
.progress = .progress, .inform = .inform, .print = .print,
.parallel = .parallel, .paropts = .paropts)
}
Jump to Line
Something went wrong with that request. Please try again.