doRegex.Rd
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 |
A list of indices of matchAgainst that is matched
Only used by getCoefsFromPredictorsRevo
for finding matches between predictors and coefficients