ez.selcol | R Documentation |
select col names in a df, evaluated by sprintf('dplyr::select(df,
ez.selcol(df, col = NULL, ...)
df |
df |
col |
a string or a vector or NULL (NULL=all cols)
|
returns vector of col names (if no col matched, resturn NULL, for easy later use with c(NULL,'a col') -> c('a col'))
regular expression should use four slashes \\
'matches("cci[i]?\\\\d\\\\d$")'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.