plotCqHist {conquestr}R Documentation

plotCqHist

Description

generates a plot from a history object. Use ‘getCqHist' to create a history object from an ’ACER ConQuest' system file.

Usage

plotCqHist(myHist, centre = TRUE, params = c("all"), legend = FALSE)

Arguments

myHist

an R object created by the 'getCqHist' function.

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?.

Value

A ggplot2 object.

Examples

## Not run: 
myHistPlot<- plotCqHist(getCqHist(ConQuestSys()))

## End(Not run)

[Package conquestr version 0.9.96 Index]