Description Usage Arguments Value Author(s)
View source: R/bridge.linearmap.R
Bridging Two Ideal Point Estimates with Linear Transformation Method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | bridge.linearmap(
ip1,
ip2,
anchorrows.ip1,
anchorrows.ip2,
method = "procrustes",
trans.ip2 = TRUE,
opt = FALSE,
opt.iter.n = 10000,
opt.sample.n = 30,
opt.th.inline = 0.5,
blend = TRUE,
blend.th1 = 0.05,
blend.th2 = 0.15
)
|
ip1 |
Matrix or data.frame of 'reference' ideal points
(i.e., |
ip2 |
Matrix or data.frame of ideal points to be transformed. |
anchorrows.ip1 |
Vector of row number of anchoring respondents in |
anchorrows.ip2 |
Vector of row number of anchoring respondents in |
method |
Method of bridging. Currently, following methods are aviailable:
|
trans.ip2 |
If |
opt |
If |
opt.iter.n |
Number of iteration in the optimization of transformation matrix. |
opt.sample.n |
Size of anchoring respondents to be sub-sampled at each iteration of optimization. |
opt.th.inline |
Upper bound to determine inline respondents at each iteration of
optimization. A respondent is considered 'inline' if the distance between transformed
|
blend |
If |
blend.th1 |
If |
blend.th2 |
If |
A list with the following elements along with specified argument values:
ip2_trans
or ip1_trans
: Transformed matrix.
ip1
: Original ip1
matrix.
ip2
: Original ip2
matrix
Tzu-Ping Liu jamesliu0222@gmail.com, Gento Kato gento.badger@gmail.com, and Sam Fuller sjfuller@ucdavis.edu.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.