Learn R Programming

momr (version 1.1)

splitData: splitData

Description

This function splits a dataframe object on a given number of equally sized shares and saves them in the disk as RData objects with an incremental name.

Usage

splitData(data, shares = 30, name = "data_part", rows = TRUE)

Arguments

data
: the dataframe to be split
shares
: the number of shares, default=30
name
: the name of the split files in the disk preceding the incremental number, default="data_part"
rows
: logical parameter, if default rows=="TRUE" the rows will be split

Value

does not return anything

Details

splitData