withReplacement {nullranges} | R Documentation

## Get replace method

### Description

Determine if a Matched object was created with or without replacement.

### Usage

    withReplacement(x, ...)

    ## S4 method for signature 'Matched'
    withReplacement(x, ...)

### Arguments

`x` | Matched object.
`...` | Additional arguments.

### Value

TRUE/FALSE indicating whether matching was done with or without replacement.

### Examples

    set.seed(123)
    mdf <- makeExampleMatchedDataSet(matched = TRUE)
    withReplacement(mdf)

[Package nullranges version 1.0.1 Index]