characterMatches {midasHLA} | R Documentation

## Check if character matches one of possible values

### Description

`characterMatches` checks if all elements of a character vector matches values in choices.

### Usage

    characterMatches(x, choice)

### Arguments

`x` | Character vector to test.
`choice` | Character vector with possible values for `x`.

### Value

Logical indicating if `x`'s elements matches any of the values in `choice`.

[Package midasHLA version 1.2.0 Index]