recycle: Recycle parameters or whatever.

View source: R/vis_group.R

recycleR Documentation

Recycle parameters or whatever.

Description

Recycle parameters or whatever.

Usage

recycle(x, times)

Arguments

x

a vector of whatever

times

positive integer, the required length of the output

Value

a vector of length 'times', with the recycled 'x'

Note

Todo: most likely there is an R function for this already, find it.


fsbrain documentation built on July 9, 2023, 7:12 p.m.