This function produces diagnostic plots of various outputs generated from the functions in this package, including `AlphaNP`

, `AlphaMLE`

, `JMLE`

, and`Qrefine`

.

1 2 3 4 5 6 7 8 9 | ```
## S3 method for class 'AlphaNP'
plot(x, nperson, cex.main, cex.legend, ...)
## S3 method for class 'AlphaMLE'
plot(x, nperson, cex.main, ...)
## S3 method for class 'JMLE'
plot(x, nperson, cex.main, ...)
## S3 method for class 'Qrefine'
plot(x, filename="Qrefine.plot.png", cex.main,
cex.lab, cex.axis, cex.legend, ...)
``` |

`x` |
The output from the function (The list of all outputs). |

`nperson` |
The choice of examinee to be investigated. |

`filename` |
The filename of the plot, ending in ".png". Directory can be included; otherwise the plot will be saved in the working directory. |

`cex.main` |
A numerical value giving the amount by which title text should be magnified relative to the default. This starts as 1 when a device is opened. |

`cex.axis` |
The magnification to be used for axis annotation. |

`cex.lab` |
The magnification to be used for x and y labels. |

`cex.legend` |
The magnification to be used for the legend if there is one. |

`...` |
Other arguments. |

`AlphaNP` |
Bar plot of sorted loss function values (plain, weighted, or penalized Hamming distance) for each candidate attribute profile for the chosen examinee. The bar with the tilted shade is the estimated attribute profile for this examinee, which ideally should have the smallest loss function value. |

`AlphaMLE` |
Bar plot of sorted negative log-likelihood function values for each candidate attribute profile for the chosen examinee.The bar with the tilted shade is the estimated attribute profile for this examinee, which ideally should have the smallest value. |

`JMLE` |
A pair of barplots. Plot1: Bar plot of unsorted loss function values for each candidate attribute profile for the chosen examinee using the nonparametric estimation; Plot2: bar plot of unsorted negative log-likelihood function values for each candidate attribute profile for the chosen examinee in the last iteration of the JMLE estimation.The bar with the tilted shade is the estimated attribute profile for this examinee by each method, which ideally should have the smallest value. |

`Qrefine` |
A panel plot for all items with refined q-vectors. Each subplot shows the unsorted residual sum of squares (RSS) between the real response patterns and the ideal response patterns generated from each possible q-vector. The bar with the sparsely tilted shade is the initial q-vector for this item, and the bar with the densely tilted shade is the refined q-vector for this item, which ideally should have the smallest RSS value. |

`AlphaNP`

, `AlphaMLE`

, `JMLE`

, `Qrefine`

1 | ```
# See examples in AlphaNP, AlphaMLE, JMLE, and Qrefine.
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.