replicate_df: Repeat a dataframe-generating operation and collect results...

Description Usage Arguments Value Examples

View source: R/generate.R

Description

Repeat a dataframe-generating operation and collect results in a dataframe.

Usage

1
replicate_df(num_replications, df_generator, ...)

Arguments

num_replications

natural number

df_generator

function that generates a tibble

...

additional parameters for df_generator

Value

a tibble of all rows of each generated tibble, with the replication index labeled by a new variable, replication.

Examples

1
2

bvancil/peRsonal documentation built on May 25, 2019, 4:01 a.m.