Rdocumentation
powered by
Learn R Programming
RecordLinkage (version 0.3-2)
resample: Safe Sampling
Description
Performs sampling without replacement while avoiding undesired behaviour if
x
has length 1. See documentation of
sample
.
Usage
resample(x, size, ...)
Arguments
x
A vector from which to sample.
size
A non-negative number giving the size of the sample.
...
Further arguments to
sample
.