fn builtin_agrepl(
args: &[RValue],
named: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Approximate grepl: test whether a pattern approximately matches each element.
Uses Levenshtein edit distance for fuzzy matching. Returns a logical vector.
@param pattern character scalar: pattern to approximately match @param x character vector to search @param max.distance numeric: maximum edit distance (< 1 means fraction of pattern length) @param ignore.case logical: if TRUE, matching is case-insensitive @return logical vector indicating which elements approximately match