repeat_df: repeat_df

repeat_dfR Documentation

repeat_df

Description

Repeats a data frame n times. Useful for testing on large data frames.

Usage

repeat_df(.df, n, id = NULL)

Arguments

.df

a data frame

n

times the data frame should be repeated

id

a character element that creates a column with a number for each repetition

Value

a vector of the integers 1, 0 and NA (if not dummy_ is used).

See Also

vignette("hablar")

Examples

repeat_df(mtcars, 2)


hablar documentation built on March 31, 2023, 11:54 p.m.