rep_dataframe: Creates a number of directories

Description Usage Arguments Author(s) Examples

View source: R/rep_dataframe.R

Description

rep_dataframe Repeats a dataframe n times by rbind or cbind.

Usage

1
rep_dataframe(data, times = 1, by = "rbind")

Arguments

data

requires the dataframe to be copied.

times

requires the number of times the dataframe has to be repeated. Defaults to 1.

by

requires a character string specifying the function to bind the repeated dataframes("rbind", "cbind"). Defaults to "rbind".

Author(s)

René Michel

Examples

1
repeated_data = rep_dataframe(data, 2, "rbind")

remichel/rmTools documentation built on Dec. 11, 2021, 6:59 a.m.