Skip to content

Commit c88c7b4

Browse files
committed
Update itemresponsetheorycommon.R
1 parent fe9f857 commit c88c7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/itemresponsetheorycommon.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@
467467
}
468468

469469
.irtIRTItemCharCurve <- function(dataset, options, jaspResults, ready, position) {
470-
if (options[["explanatoryText"]] && options[["plotItemCharacteristic"]]) {
470+
if (options[["explanatoryText"]] && length(options[["plotItemCharacteristicItems"]] > 0)) {
471471
text <- createJaspHtml(gettext("<h3>Explanatory Text: Item Characteristic Curves</h3>An item characteristic curve (ICC) plot shows how different test questions or items perform. It is like a graph that helps us understand how easy or hard each question is and how likely people with different abilities are to answer them correctly. In the figure, you can see a line for each question, and the shape of the line tells you if the question is easy or difficult to answer fully correctly as a function of the ability of a respondent."))
472472
text$position <- position
473473
text$dependOn(options = c("explanatoryText", "plotItemCharacteristicItems"))

0 commit comments

Comments
 (0)