ustweet | R Documentation |
Data from U.S. Twitter follower data, obtained from Barbera's (2015) replication archive.
data(ustweet)
list, containing the following elements:
Term-document matrix, formatted for input to networkIRT()
.
Start values, formatted for input to networkIRT()
.
Priors, formatted for input to networkIRT()
.
Pablo Barbera. 2015. “Birds of the Same Feather Tweet Together: Bayesian Ideal Point Estimation Using Twitter Data.” Political Analysis 23(1), 76-91
Kosuke Imai, James Lo, and Jonathan Olmsted. (2016). “Fast Estimation of Ideal Points with Massive Data.” American Political Science Review, Vol. 110, No. 4 (December), pp. 631-656.
'networkIRT'.
## Not run:
data(ustweet)
## A ridiculously short run to pass CRAN
## For a real test, set maxit to a more reasonable number to reach convergence
lout <- networkIRT(.y = ustweet$data,
.starts = ustweet$starts,
.priors = ustweet$priors,
.control = {list(verbose = TRUE,
maxit = 3,
convtype = 2,
thresh = 1e-6,
threads = 1
)
},
.anchor_item = 43
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.