Skip to content

Commit

Permalink
Shiny app: fix examinee-wise plot generation
Browse files Browse the repository at this point in the history
  • Loading branch information
SangdonLim authored and choi-phd committed Apr 22, 2024
1 parent fd8ca11 commit ae3e703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/shiny/server.r
Expand Up @@ -214,7 +214,7 @@ server <- function(input, output, session) {
if (input$simulee_id != "") {
v <- updateLogs(v, sprintf("Created plots for simulee %i", v$simulee_id))

plot(v$fit, v$simulee_id, type = "audit")
plot(v$fit, examinee_id = v$simulee_id, type = "audit")
p <- recordPlot()
dev.off()

Expand All @@ -224,7 +224,7 @@ server <- function(input, output, session) {
sprintf("Audit trail plot for simulee %i", v$simulee_id)
)

plot(v$fit, v$simulee_id, type = "shadow", simple = TRUE)
plot(v$fit, examinee_id = v$simulee_id, type = "shadow", simple = TRUE)
p <- recordPlot()
dev.off()

Expand Down

0 comments on commit ae3e703

Please sign in to comment.