asplit {backports} | R Documentation |
See the original description in base::asplit
.
asplit(x, MARGIN)
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_asplit = getFromNamespace("asplit", "backports")
x = matrix(1:6, 2, 3)
bp_asplit(x, 1)