See the original description in base::asplit
.
1 | asplit(x, MARGIN)
|
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.