doRegex: doRegex

Description Usage Arguments Details Value Author(s)

Description

Helper function for matching coefficients

Usage

1
doRegex(x, matchAgainst, pattern = "(^| )%s($|,|=)")

Arguments

x

Root pattern to search for

matchAgainst

Text to search through

pattern

Regex pattern to build x into

Details

Only used by getCoefsFromPredictorsRevo for finding matches between predictors and coefficients

Value

A list of indices of matchAgainst that is matched

Author(s)

Jared P. Lander


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.