findVariableByPattern | R Documentation |
Find variable names that match a pattern.
findVariableByPattern(l, pattern)
l |
data dictionary list |
pattern |
character value passed to |
character vector of variable names
dd <- script2info(system.file("examples", "ex_script.R", package = "rcmoonpie")) findVariableByPattern(dd, 'redcap') # regular expression for strings that start with \dQuote{s} findVariableByPattern(dd, '^s')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.