grep_col_sort: grep_col_sort

grep_col_sortR Documentation

grep_col_sort

Description

order columns of a data.frame/data.table based on the supplied order of multiple character patterns.

Usage

grep_col_sort(
  patterns,
  df,
  all_cols = TRUE,
  match_first = TRUE,
  perl = TRUE,
  fixed = FALSE
)

Value

A data.frame/data.table


kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.