dplyr operation that I don't know
a summary of some tricky functions
selection
- X:Y (column X to Y)
- start_with (string)
- end_with (string)
- matches (regex)
- contains (string)
conditons
if_else(condition, TRUE_operation, FASLE_operation)
case_when(condition ~ operation_if_TRUE)
across and c_aross
across
is a verb for selected column (i.e., vector)
c_across
is a verb for row, but must be used with rowwise()
|
|
lambda function (in purrr package)
~ = lambda, .x = argument
|
|
to be continue …