asplit: Backport of asplit for R < 3.6.0

asplitR Documentation

Backport of asplit for R < 3.6.0

Description

See the original description in base::asplit.

Usage

asplit(x, MARGIN)

Examples

# 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)

mllg/backports documentation built on Aug. 12, 2024, 12:31 p.m.