agree_score: Agreement Scores

View source: R/agree_score.R

agree_scoreR Documentation

Agreement Scores

Description

Calculate agreement scores among voters/legislators.

Usage

agree_score(X)

Arguments

X

an n\times p matrix of votes, which can include NA.

Value

A data frame containing agreement scores and number of joint votes for every pair of voters.


davidaarmstrong/legR documentation built on Oct. 13, 2023, 1:08 p.m.