str_similar: Check similarity of given string with target.

View source: R/character.R

str_similarR Documentation

Check similarity of given string with target.

Description

Check similarity of given string with target.

Usage

str_similar(string, target, similarity = 3, only_sub = FALSE)

Arguments

string

character for checking similarity

target

character for compared target

similarity

threshold similarity

only_sub

count only substitute

Value

logical: TRUE if string is enough similar with target.


hmito/hmRLib documentation built on March 13, 2024, 9:41 p.m.