gt_maj_gain: Assesses how much majorities gain from a policy change in...

Description Usage Arguments Examples

View source: R/gt_spatial_preferences.R

Description

Assesses how much majorities gain from a policy change in spatial model

Usage

1
gt_maj_gain(P, a, b, method = "euclidean")

Arguments

P

matrix of ideal points

a

Alternative policy

b

Status quo policy

method

Distance metric, deafulats to Euclidean

Examples

1
gt_maj_gain(matrix(c(0, 0, .5, 1, 1, 0), 2), 0:1, c(.5,.5))

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