Learn R Programming

float (version 0.3-3)

rep: rep

Description

Replicate elements of a float vector/matrix.

Usage

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

Value

A float vector.

Arguments

x

A float matrix.

...

Additional arguments (passed to base::rep).

Examples

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

rep(x, 5)

Run the code above in your browser using DataLab