sample.dt: sample random rows from the data table X

Description Usage Arguments Examples

Description

sample random rows from the data table X

Usage

1
sample.dt(X, nrow = 1, ...)

Arguments

X

input data table

nrow

number of rows to be sampled

Examples

1
sample.dt(data.table(num = 1:10, lett = letters[1:10], Lett = LETTERS[1:10]))

mucun1988/cm documentation built on May 5, 2019, 8:02 p.m.