repLen: Match the length of an object to an other object with warning

Description Usage Arguments

View source: R/is.R

Description

repLen is a wrapper around rep_len to recycle or crop a vector so that its length matches a pre-defined length. It throws a warning in such cases.

Usage

1
repLen(x, len, x_name = NULL)

Arguments

x

the object

len

the desired length


tdeenes/eegR documentation built on April 19, 2021, 4:17 p.m.