| plot | R Documentation |
Draws log-likelihood trace plots for fitted ForceChoice model objects. Stan, iStEM, and EM fits are visualised through the same convergence target: the total log-likelihood recorded across iterations of the corresponding estimation algorithm.
## S3 method for class 'MIRT'
plot(x, y = NULL, ...)
## S3 method for class 'MGPCM'
plot(x, y = NULL, ...)
## S3 method for class 'MGGUM'
plot(x, y = NULL, ...)
## S3 method for class 'FCMIRT'
plot(x, y = NULL, ...)
## S3 method for class 'FCDCM'
plot(x, y = NULL, ...)
## S3 method for class 'FCGGUM'
plot(x, y = NULL, ...)
## S3 method for class 'FCGDINA'
plot(x, y = NULL, ...)
## S3 method for class 'TIRT'
plot(x, y = NULL, ...)
x |
A fitted model object of class |
y |
Ignored. |
... |
Ignored. |
The horizontal axis is the saved Stan iteration, iStEM iteration, or EM
iteration. The vertical axis is the summed log-likelihood. Stan plots use
log_lik or log_lik_group from generated quantities and draw
all chains in one panel. iStEM plots use the iteration-level
iStEM$logLik.trace, and the stable chain is the final
M * B iStEM iterations. EM plots use EM$logLik.trace. For
Stan and iStEM fits, a vertical dashed line marks the stable-chain
boundary. EM fits do not have a stable-chain boundary.
Invisibly returns NULL. Plots are produced as a side
effect on the current graphics device.
plot(MIRT): Log-likelihood trace plot for MIRT objects.
plot(MGPCM): Log-likelihood trace plot for MGPCM objects.
plot(MGGUM): Log-likelihood trace plot for MGGUM objects.
plot(FCMIRT): Log-likelihood trace plot for FCMIRT objects.
plot(FCDCM): Log-likelihood trace plot for FCDCM objects.
plot(FCGGUM): Log-likelihood trace plot for FCGGUM objects.
plot(FCGDINA): Log-likelihood trace plot for FCGDINA objects.
plot(TIRT): Log-likelihood trace plot for TIRT objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.