resample_n: Resample in the dplyr style

Description Usage Arguments

Description

This is a simple wrapper on dplyr::sample_n`` that setsreplace=TRUE'

Usage

1
resample_n(tbl, size = nrow(tbl), weight = NULL)

Arguments

tbl

a data table

size

optional. Defaults to the size of tbl

weight

optional weighing to use when sampling.


dtkaplan/statPREPpackage documentation built on May 15, 2019, 5:22 p.m.