View source: R/coefPredMatching.r
doRegex | R Documentation |
Helper function for matching coefficients
doRegex(x, matchAgainst, pattern = "(^| )%s($|,|=)")
x |
Root pattern to search for |
matchAgainst |
Text to search through |
pattern |
Regex pattern to build x into |
Only used by getCoefsFromPredictorsRevo
for finding matches between predictors and coefficients
A list of indices of matchAgainst that is matched
Jared P. Lander
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.