--
You received this message because you are subscribed to the Google Groups "mirt-package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mirt-package/8cf692f2-d407-4503-a9bb-3382f80a262bn%40googlegroups.com.
Hello, it's been a while since this thread got a response and I am also wondering the same thing Atmajit mentioned and would like to give a simple reprex for the problem. Here attached is a modified "Math-stem.html" (http://philchalmers.github.io/mirtCAT/html/customizeGUI.html) which I inserted an <img> tag that sources out a sample picture called "sample.png" After running this code,library(mirtCAT)type <- c("radio")questions <- c("")options <- rbind(c("1236", "1238", "1240", "1242", "1244"))answers <- c("1236")#stem paths can be relative or absolute (relative here, in the save working directory)stem_locations <- c("Math-stem.html")oneitem <- data.frame(Question = questions, Option = options, Answer = answers,Stem = stem_locations, Type = type, stringsAsFactors = FALSE)results <- mirtCAT(df = oneitem, design = list(max_items = 2))The result shows:Hope this would help out in determining the problem for img sourcing inside the html stem file and would greatly appreciate an update for this fix. Thanks!John
To view this discussion on the web visit https://groups.google.com/d/msgid/mirt-package/8ac86c22-7a07-4a38-b1dd-ad862b2aa13an%40googlegroups.com.