matches: Count Matches

Description Usage Arguments Examples

View source: R/RcppExports.R View source: R/matches.R

Description

This function returns a matrix of matches between each argument passed. Each cell x_ij in the output denotes how many times the elements in input i were found in input j.

Usage

1

Arguments

...

A set of (possibly named) arguments, all of the same type.

Examples

1
2
3
4
x <- c("a", "b", "c", "d")
y <- c("a", "b", "c")
z <- c("a", "b", "d")
matches(x, y, z)

kevinushey/Kmisc documentation built on May 20, 2019, 9:08 a.m.