
Last chance! 50% off unlimited learning
Sale ends in
ideal
plot.ideal(x, conf.int=0.95, start=rownames(x$x)[1], ...)
ideal
.conf.int
is ignored.ideal
object comes from fitting a d=1
dimensional
model, then plot.ideal()
produces a plot of the posterior mean of the ideal point estimations for each
legislator with a confidence interval. This is the same graph that
would be produced by calling plot1d
. If there are more
than 30 legislators, only 30 points on this graph will be labelled. If the
ideal
object has d=2
dimensions, then plot2d
is
called, which plots the (estimated) mean of the posterior density of
each legislator (i.e., the ideal point is a point in 2-dimensional
Euclidean space, and the posterior density for each ideal point is a
bivariate density). For unidimensional and two-dimensional models, if party information is
available in the rollcall
object contained in the ideal
object, legislators from different
parties are plotted in different colors. If the ideal
object
has more than 2 dimensions, plot.ideal()
produces a matrix of
plots of the mean ideal points of each dimension against the posterior
mean ideal points of the other dimensions.
ideal
, plot1d
, plot2d
data(s109)
id1 <- ideal(s109,
d=1,
meanzero=TRUE,
store.item=TRUE,
maxiter=1000, ## short run for examples
burnin=100,
thin=10)
plot(id1)
Run the code above in your browser using DataLab