rep: Repeats an array along an arbitrary axis

View source: R/rep.r

repR Documentation

Repeats an array along an arbitrary axis

Description

Repeats an array along an arbitrary axis

Usage

rep(x, n, along = 1)

crep(x, n)

rrep(x, n)

Arguments

x

An array object

n

Integer, how often to repeat

along

Along which axis to repeat (default: 1)

Value

An array that is repeated 'n' times on axis 'along'


mschubert/narray documentation built on Jan. 12, 2023, 8:26 a.m.