nameDists: Clean and match names column by removing punctuation and...

Description Usage Arguments Value Examples

Description

Clean and match names column by removing punctuation and replacing punctuation with an underscore

Usage

1
nameDists(dat1, dat2 = NULL)

Arguments

dat1

data frame containing name information

dat2

data frame containing name information

Value

a distance matrix giving the number of mismatches in names.

Examples

1
2
3
4
set.seed(9)
x <- data.frame(x = letters, y = LETTERS, z = 1:26)
x <- x[sample(nrow(x), 10, replace = TRUE), ]
nameDists(x)

Hackout3/epimatch documentation built on May 6, 2019, 9:48 p.m.