divide_tables: Divides a table into several parts

Description Usage Arguments Value Examples

Description

This function will divide a table into as many subsets as you want. The divisions will be made in a chronological order.

Usage

1
divide_tables(tab1, tab2, divisions)

Arguments

tab1

A data.table object containing the table you want to divide.

tab2

A data.table object containing the inscription date.

divisions

A number which indicates how many parts you want to divide your table into.

Value

A list of subsets from the main table.

Examples

1
2
3
## You want to divide the logs  into 5 parts

liste_logs <- divide_tables(log,res_examen,5)

guillaumelf/BarchenPackage documentation built on May 31, 2019, 11:50 p.m.