doRegex: doRegex

View source: R/coefPredMatching.r

doRegexR Documentation

doRegex

Description

Helper function for matching coefficients

Usage

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


coefplot documentation built on March 18, 2022, 7:58 p.m.