Description Usage Arguments Value Examples
Checks if all variables in name
exists in the data frame data
.
1 |
name |
chracter: names of variables |
data |
data frame |
TRUE
if all names in name
exists in data
otherwise FALSE
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]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.