asplit: Backport of asplit for R < 3.6.0

Description Usage Examples

Description

See the original description in base::asplit.

Usage

1
asplit(x, MARGIN)

Examples

1
2
3
4
5
# 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)

backports documentation built on Dec. 13, 2021, 5:08 p.m.