Learn R Programming

coalitions (version 0.6.12)

paste_coalitions: Transform list of coalitions to vector by combining party names

Description

Transform list of coalitions to vector by combining party names

Usage

paste_coalitions(coalitions, collapse = "_")

Arguments

coalitions

A list of coalitions for which coalition probabilities should be calculated. Each list entry must be a vector of party names. Those names need to correspond to the names in majority_df.

collapse

an optional character string to separate the results. Not NA_character_.