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

View source: R/coalition-probability.R

paste_coalitionsR Documentation

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

Character string passed to base::paste.


adibender/coalitions documentation built on Aug. 22, 2022, 5:58 a.m.