float (version 0.2-3)

rep: rep

Description

Replicate elements of a float vector/matrix.

Usage

# S3 method for float32
rep(x, ...)

Arguments

x

A float matrix.

...

Additional arguments (passed to base::rep).

Value

A float vector.

Examples

Run this code
# NOT RUN {
library(float)
x = fl(matrix(1:6, 3, 2))

rep(x, 5)

# }

Run the code above in your browser using DataLab