existsVars: existsVars

Description Usage Arguments Value Examples

Description

Checks if all variables in name exists in the data frame data.

Usage

1

Arguments

name

chracter: names of variables

data

data frame

Value

TRUE if all names in name exists in data otherwise FALSE

Examples

1
2
3
4
5
6
7
8
9
#' set.seed(0)
# create two data sets which consists of
# 200 obs. only in t1, 200 obs. in t1 and t2 and
# 100 obs. only in t2
n <- list(c(200, 1), c(200, 1, 2), c(100, 2))
x <- generateTestData(n)
#
existsVars("Geburtstag", x[[1]])
existsVars("birthday", x[[2]])

sigbertklinke/findMatch documentation built on July 12, 2019, 9:22 a.m.