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)

backports documentation built on June 24, 2024, 5:24 p.m.