recycle: Recycle a data object and truncate to a length of N.

Description Usage Arguments Value

Description

Recycle a data object and truncate to a length of N.

Usage

1

Arguments

data

Object containing the data to recycle

N

The target length of the object once recycled.

Value

Returns the same object as provided, recycled enough times and truncated to ensure it has length N.


jeanmarcgp/xtsanalytics documentation built on May 19, 2019, 12:38 a.m.