| Title: | Golosov Relative Size Triangle Classification and Plotting |
|---|---|
| Description: | Computes coordinates for the Golosov Relative Size Triangle (RST), classifies party-system observations into Golosov subtypes using polygon mapping and produces publication-ready Relative Size Triangle plots. Method reference: Golosov, G. V. (2011) "Party system classification: A methodological inquiry" <doi:10.1177/1354068810377189>. |
| Authors: | Federico Taddei [aut, cre] |
| Maintainer: | Federico Taddei <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.0.1 |
| Built: | 2026-10-08 10:52:26 UTC |
| Source: | https://github.com/federico00taddei/golosovrst |
Plot Golosov Relative Size Triangle
plot_rst(data, label_col = NULL)plot_rst(data, label_col = NULL)
data |
A data.frame containing numeric columns |
label_col |
Optional character scalar: name of a column used as point labels. |
A ggplot2 object.
Golosov, G. V. (2011). Party system classification: A methodological inquiry. Party Politics, 17(5), 539–560.
Golosov, G. V. (2014). Towards a classification of the world's democratic party systems, step 2: Placing the units into categories. Party Politics, 20(1), 3–15.
mydata <- data.frame( country = c("uk 2015", "ita 2013", "spa 2015"), s1 = c(0.508, 0.4714, 0.3514), s2 = c(0.357, 0.1730, 0.2571), s3 = c(0.086, 0.1556, 0.1971) ) plot_rst(mydata) plot_rst(mydata, label_col = "country")mydata <- data.frame( country = c("uk 2015", "ita 2013", "spa 2015"), s1 = c(0.508, 0.4714, 0.3514), s2 = c(0.357, 0.1730, 0.2571), s3 = c(0.086, 0.1556, 0.1971) ) plot_rst(mydata) plot_rst(mydata, label_col = "country")
Classify observations in Golosov subtypes using RST polygons
rst_classify(data, offset = 5e-16)rst_classify(data, offset = 5e-16)
data |
A data.frame containing numeric columns |
offset |
Small numeric offset used to avoid polygon-edge ambiguity. |
A data.frame with coordinates and golosov_subtype.
Golosov, G. V. (2011). Party system classification: A methodological inquiry. Party Politics, 17(5), 539–560.
Golosov, G. V. (2014). Towards a classification of the world's democratic party systems, step 2: Placing the units into categories. Party Politics, 20(1), 3–15.
Compute Golosov relative size coordinates
rst_coords(data)rst_coords(data)
data |
A data.frame containing numeric columns |
A data.frame with original columns plus sr, x, and y.
Golosov, G. V. (2011). Party system classification: A methodological inquiry. Party Politics, 17(5), 539–560.
Golosov, G. V. (2014). Towards a classification of the world's democratic party systems, step 2: Placing the units into categories. Party Politics, 20(1), 3–15.