gt_majority_phase: Majority rule equilibrium

Description Usage Arguments Examples

View source: R/gt_majority_phase.R

Description

Phase plot for majority rule. Requires majority preference relation function.

Usage

1
2
3
gt_majority_phase(P, n = 11, grid = 4, pointsize = 2, box = TRUE,
  raylengths = c(0.5), raycols = c("red", "pink"), rayarrs = c(0.15, 0.1),
  q = 0.5, pointcol = "grey", lwd = 1, main = "")

Arguments

P

Matrix with location of ideal points

n

number of arrow per region

grid

number of grid points

raylengths

vector with lengths of distances to examine

Examples

1
 gt_majority_phase(matrix(c(0, 0, .5, 1, 1, 0), 2), 31, raylengths=.5)

macartan/hop documentation built on Jan. 4, 2022, 9:21 p.m.