R: Safe Sampling

resample {RecordLinkage} | R Documentation

## 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`.

[Package RecordLinkage version 0.4-11.2 Index]