Learn R Programming

coalitions (version 0.6.24)

get_superior: Extract superior coalitions from coalition string or vector

Description

Extract superior coalitions from coalition string or vector

Usage

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