File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515}
1616
1717\arguments {
18- \item {.data }{ matrix of numeric values containing the data to be scaled. Respondents are
19- assumed to be on rows , and items assumed to be on columns , so the matrix is assumed to be
20- of dimension (N x J ). For each item , only 3 ordered category responses are accepted , and the
21- only allowable responses are `1', ` 2 ' , and `3' , with `0 ' as a missing data record. If data
22- of more than 3 categories are to be rescaled, they should be collapsed into 3 categories and
23- recoded accordingly before proceeding.
18+ \item {.data }{ a list with the following items.
2419 \itemize {
2520 \item {\code {rc }}{ A (N x J ) matrix of observed votes. `1' and ` - 1 ' are the yea and nay codes, while `0' is
2621 a missing data code. }
116111\a uthor{
117112Kosuke Imai \e mail{kimai@princeton.edu}
118113
119- James Lo \e mail{jameslo@princeton .edu}
114+ James Lo \e mail{lojames@usc .edu}
120115
121116Jonathan Olmsted \e mail{jpolmsted@gmail.com}
122117}
Original file line number Diff line number Diff line change 1717}
1818
1919\a rguments{
20- \i tem{.data}{ matrix of numeric values containing the data to be scaled. Respondents are
21- assumed to be on rows, and items assumed to be on columns, so the matrix is assumed to be
22- of dimension (N x J). For each item, only 3 ordered category responses are accepted, and the
23- only allowable responses are `1' , `2', and ` 3 ' , with `0' as a missing data record. If data
24- of more than 3 categories are to be rescaled , they should be collapsed into 3 categories and
25- recoded accordingly before proceeding.
20+ \i tem{.data}{ a list with the following items:
2621 \i temize{
2722 \i tem{\c ode{y}}{ A (L x 1) matrix of observed votes. `1' and `- 1 ' are the yea and nay codes.}
2823 \i tem{\c ode{i}}{ A (L x 1) integer matrix of indexes of the ideal point i[l] linked to each observed
122117\author {
123118Kosuke Imai \email {kimai @ princeton.edu }
124119
125- James Lo \email {jameslo @ princeton .edu }
120+ James Lo \email {lojames @ usc .edu }
126121
127122Jonathan Olmsted \email {jpolmsted @ gmail.com }
128123}
You can’t perform that action at this time.
0 commit comments