fpsim
0.2.0Compute Measures of Foreign Policy Similarity/Agreement
Overview
Provides functions for calculating various measures of foreign policy similarity or association commonly used in the study of international relations. These include Signorino and Ritter's S statistic (weighted and unweighted), Benati and Capurri's chance-corrected S statistic (A), Cohen's weighted kappa, Scott's pi, and Kendall's tau-b. The package facilitates the generation of dyadic similarity scores for empirical analyses and can also serve as an educational resource for understanding how such measures are calculated.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 8.0 median / 13 max
- Documented parameters
- 100%
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
6 6 exported
Complexity
8 avg / 13 max
Call network
6 nodes / 0 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.2.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.1.02026-03-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-08-18
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 0.9 KB / 3 files
- Download size
- 16 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet