mcheck: Check match rates

Description Usage Arguments Value Examples

View source: R/mcheck.R

Description

Check match rates between two character vectors

Usage

1
mcheck(x, y, incomparables = FALSE)

Arguments

x

a character vector

y

a character vector

incomparables

a vector of incomparable values, where FALSE means no values. See unique

Value

A numeric matrix of match statistics.

Examples

1
2
3
4
5
A <- sample(state.abb, 50, replace = TRUE)
B <- sample(state.abb, 100, replace = TRUE)
B[sample(1:length(B), 10)] <- NA_character_

mcheck(A, B)

coletl/coler documentation built on May 12, 2021, 9:44 p.m.