sample.clones: Get a random subset from a data.frame.

Description Usage Arguments Value

Description

Sample rows of the given data frame with replacement.

Usage

1

Arguments

.data

Data.frame or a list with data.frames

.n

Sample size if integer. If in bounds [0;1] than percent of rows to extract. "1" is a percent, not one row!

.replace

if T then choose with replacement, else without.

Value

Data.frame of nrow .n or a list with such data.frames.



Search within the tcR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.