dtSample: Sample ids from a data.table

Description Usage Arguments Value

View source: R/dtsample.R

Description

Sample ids from a data.table

Usage

1
dtSample(dt, n, sID, repVal = FALSE)

Arguments

dt

A data.table.

n

An integer.

sID

A string.

repVal

True or False

Value

A vector


kgoldfeld/ksgMisc documentation built on Nov. 12, 2021, 10:59 a.m.