make_priors: Make Priors for MI-DIRT

View source: R/make_priors.R

make_priorsR Documentation

Make Priors for MI-DIRT

Description

Makes priors to pass to the dynamic IRT function.

Usage

make_priors(X, agree_n_thresh = 50, ...)

Arguments

X

Matrix of votes.

agree_n_thresh

Scalar indicating how many common votes legislators must have to be anchors.

...

Other arguments to be passed down - currently not implemented.

Value

A list that can be passed to the dynIRT() function from emIRT.


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