![]() The following example removes the column chapters as it starts with character c. Use -starts_with() to ignore columns that start with a text. This function also takes a list of values to check contains. The following example removes the column chapters as it contains text apt. Use -contains() to ignore columns that contain text. The same function can also be used to remove variables by name range. This pipe can be used to write multiple operations that you can read left-to-right. For example, x %>% f(y) converted into f(x, y) so the result from left-hand side is then “piped” into the right-hand side.
0 Comments
Leave a Reply. |