plotCqHist {conquestr} | R Documentation |
generates a plot from a history object. Use getCqHist
to create a history object from an 'ACER ConQuest' system file.
plotCqHist(myHist, centre = TRUE, params = c("all"), legend = FALSE)
myHist |
an R object created by the |
centre |
a Boolean representing whether the iteration history should be mean centred (within parameter). This is helpful for plots that include all parameters to ensure the Y axis is sensible. Consider a plot with raw values of the Likelihood and item parameters on it. |
params |
A vector of which params to plot. Must be one or more of "all", "Likelihood", "Beta", Variance", "Xsi", "Tau". |
legend |
Should a legend be plotted?. |
A ggplot2 object.
## Not run:
myHistPlot <- plotCqHist(getCqHist(ConQuestSys()))
## End(Not run)