Extract superior coalitions from coalition string or vector

get_superior(string, pattern = "_", collapse = "_")

Arguments

pattern

Pattern to look for (regular expression).

collapse

string that will be used to concatenate multiple elements obtained by splitting string to one string.

stirng

A character.

See also

stringr str_split