rc.errors: Calculating the Number of Errors in Nominate Model

View source: R/asmcjr.r

rc.errorsR Documentation

Calculating the Number of Errors in Nominate Model

Description

Calculates the number of errors and the PRE for a W-Nominate model.

Usage

rc.errors(obj, data, rcnum, rotMat = diag(2))

Arguments

obj

An object of class nomObject.

data

rollcall object used to estimate nomObject.

rcnum

Number identifying the roll call to be plotted.

rotMat

A rotation matrix if the input is of class OCobject.

Value

A matrix giving yea and nay errors, the total number of errors and PRE are returned.


davidaarmstrong/asmcjr documentation built on June 29, 2024, 12:07 p.m.