Learn R Programming

arrow (version 8.0.0)

repeat_value_as_array: Take an object of length 1 and repeat it.

Description

Take an object of length 1 and repeat it.

Usage

repeat_value_as_array(object, n)

Arguments

object

Object of length 1 to be repeated - vector, Scalar, Array, or ChunkedArray

n

Number of repetitions

Value

Array of length n