object
|
A fitted idealstan object or a named list of idealstan objects if the plot is supposed to show a comparison of different fitted idealstan models (see Time Series vignette)
|
return_data
|
If true, the calculated legislator/bill data is returned along with the plot in a list
|
include
|
Specify a list of person/legislator IDs to include in the plot (all others excluded)
|
item_plot
|
The value of the item/bill for which to plot its midpoint (character value)
|
text_size_label
|
ggplot2 text size for legislator labels
|
text_size_group
|
ggplot2 text size for group text used for points
|
high_limit
|
A number between 0 and 1 showing the upper limit to compute the posterior uncertainty interval (defaults to 0.95).
|
low_limit
|
A number between 0 and 1 showing the lower limit to compute the posterior uncertainty interval (defaults to 0.05).
|
line_size
|
Sets the size of the line of the time-varying ideal points.
|
highlight
|
A character referring to one of the persons in person_labels that the plot can highlight relative to other persons
|
plot_text
|
If TRUE, will plot person_labels over the lines.
|
use_ci
|
Whether or not high-posterior density intervals (credible intervals) should be plotted over the estimates (turn off if the plot is too busy)
|
plot_lines
|
The number of lines of actual draws of time-varying ideal points to draw on the plot. Note that these are grouped by persons. Specific draws selected at random from total number of draws of the estimation. Default is 0.
|
draw_line_alpha
|
The opacity of lines plotted over the distribution (should be between 0 and 1, default is 0.5).
|
person_line_alpha
|
The transparency level of the time-varying ideal point line
|
person_ci_alpha
|
The transparency level of ribbon confidence interval around the time-varying ideal points
|
item_plot_type
|
Whether to show the ‘non-inflated’ item/bill midpoints, the ‘inflated’ item/bill midpoints, or produce plots for ‘both’ kinds of models. Defaults to ‘non-inflated’ and will only display an item/bill midpoint if one has been specified in item_plot.
|
show_true
|
Whether to show the true values of the legislators (if model has been simulated)
|
group_color
|
If TRUE, use the groups instead of individuals to plot colours
|
hpd_limit
|
The greatest absolute difference in high-posterior density interval shown for any point. Useful for excluding imprecisely estimated persons/legislators from the plot. Leave NULL if you don’t want to exclude any.
|
sample_persons
|
If you don’t want to use the full number of persons/legislators from the model, enter a proportion (between 0 and 1) to select only a fraction of the persons/legislators. (see id_sim_gen())
|
use_chain
|
ID of MCMC chain to use rather than combining all chains. Default is NULL which will use all chains and is recommended.
|
add_cov
|
Whether to add values of hierarchical person-level covariates to the time trends (defaults to TRUE).
|
dim
|
For models with more than one dimension (num_dim in id_estimate()), which dimension to plot. Default is 1.
|
…
|
Other options passed on to plotting function, currently ignored
|