Description Usage Arguments Value Examples
Create a new variable based on pattern in the argument expr
1  | create_new_diag(data, expr, colvec, ignore.case = T, perl = T)
 | 
ignore.case | 
 logical  | 
perl | 
 logical  | 
data: | 
 input data  | 
expr: | 
 regular expression describing the pattern of interest  | 
colvec: | 
 indices of variables of interest  | 
new variable matching the pattern described in the regular expression
1  | to be added
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.