votesame: Calculate the percentate of votes in which parties voted the...

Description Usage Arguments Value Methods (by class) Examples

View source: R/votesame.R

Description

Calculate the percentate of votes in which parties voted the same

Usage

1
2
3
4
5
6
7
votesame(x, ...)

## S3 method for class 'rollcall'
votesame(x, order.x = NULL, ...)

## S3 method for class 'voteList'
votesame(x, order.x = NULL, ...)

Arguments

x

A rollcall or voteList object.

...

Other parameters passed on.

order.x

Character matrix of legislator names. This is used to re-order legislator (or party) columns, if desired.

Value

A matrix of voting similarities

Methods (by class)

Examples

1

louwerse/dutchparl documentation built on Aug. 14, 2021, 3:02 a.m.