View source: R/rater_fit_class.R
| plot.rater_fit | R Documentation | 
rater_fit objectPlot a rater_fit object
## S3 method for class 'rater_fit'
plot(
  x,
  pars = "theta",
  prob = 0.9,
  rater_index = NULL,
  item_index = NULL,
  theta_plot_type = "matrix",
  ...
)
| x | An object of class  | 
| pars | A length one character vector specifying the parameter to plot.
By default  | 
| prob | The coverage of the credible intervals shown in the  | 
| rater_index | The indexes of the raters shown in the  | 
| item_index | The indexes of the items shown in the class probabilities
plot. If not plotting the class probabilities this argument will be
ignored. By default  | 
| theta_plot_type | The type of plot of the "theta" parameter. Can be
either  | 
| ... | Other arguments. | 
The use of pars to refer to only one parameter is for backwards
compatibility and consistency with the rest of the interface.
A ggplot2 object.
fit <- rater(anesthesia, "dawid_skene")
# By default will just plot the theta plot
plot(fit)
# Select which parameter to plot.
plot(fit, pars = "pi")
# Plot the theta parameter for rater 1, showing uncertainty.
plot(fit, pars = "theta", theta_plot_type = "points", rater_index = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.