Description Usage Arguments Examples
Plots chaotic majority rule cycles. We randomly select n voters and construct a sequence of k motions, each of which is majority preferred to the previous one in the sequence. Parameter z is used to scale the graph and a seed ("seed") is used for replication
1 2 3 4 5 6 | gt_cycles(n_voters = 3, n = n_voters, n_motions = 3, k = n_motions,
seed = 1, z = 3, col1 = "red", coli = "black", colp = "red",
pointcex = 0.5, xlab = "Issue 1", ylab = "Issue 2", ann = TRUE,
axes = TRUE, a2z = FALSE, a2zcol = "red", a2zw = 2,
a2zclose = 0.025, alab = "", zlab = "", inner = FALSE,
colrange = rep(col1, k), col2 = colrange[k], mar = rep(2, 4))
|
n |
Number of voters |
k |
Number of motions |
seed |
optionally set a seed |
z |
size of plane for plotting xlim(-z,z) |
a |
Alternative policy |
1 | gt_cycles(3,5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.