list_columns: List columns verbs

Description Usage Arguments Functions Examples

Description

List columns verbs

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Arguments

x

mom_tbl

col

column names to test for existence

coo, coe

column names to test for existence

...

additional parameters, just like in dplyr::select

Functions

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
bot %>% coo_nb()
bot %>% coo_names()
bot %>% coo_present(coo)
bot %>% coo_present(foo)  # non existing column
bot %>% coo_only()
bot %>% coo_drop()
bot$coo2 <- bot$coo
bot %>% coo_select(coo2)

hearts %>% col_present(ldk)

# and works the same for coe columns

MomX/Momocs2 documentation built on May 13, 2020, 4:28 a.m.