英文:
Single item generation with build_fa / plot_fa (IMak package in R)
问题
我的目标是将一个问卷从一个调查软件转移到另一个。这个问卷包括30个任务,其中包括图形类比:
为此,我需要将每个答案项单独插入调查中,从而创建8个多项选择选项(以及2个只包含文本的选项)。然而,使用R中的IMak包生成的任务只能作为单元提供给我,包含所有8个答案项(见图像)。如果我理解正确,build_fa和plot_fa函数不允许用户生成每个答案项的单独图像,而只允许生成整个“表格”,其中包含问题项和答案项。例如,我使用以下代码生成了上面的图像。
one <- build_fa(isomorphs = 1, dot.mov = c(1, 2), correct = 1)
dir <- "C:/Users/os22e836/Desktop/REDCaps"
## 绘制它们:
plot_fa(one, directory = dir)
有没有办法生成每个答案项单独,以.png
或.jpg
的格式?我认为R会创建单个项目,然后将它们排列成一个网格。我的目标是生成所有项目的单独图像,这样我就不必手动从上面的图像中剪切它们。
英文:
My goal is to transfer a questionnaire from one survey software to another. The questionnaire consists of 30 tasks that include figural analogies:
To this end, I need to insert each of the answer items into the survey, individually, thereby creating 8 multiple choice options (and 2 options that only include text). However, the tasks that were generated using the IMak package in R are only available to me as units, containing all 8 answer items (see image). If I understand correctly, the functions build_fa and plot_fa don't allow users to generate single images of each answer item but only entire "sheets", containing both the question items and the answer items. For example, I used the code below to generate the above image.
one <- build_fa(isomorphs = 1, dot.mov = c(1, 2), correct = 1)
dir <- "C:/Users/os22e836/Desktop/REDCaps"
## Plot them:
plot_fa(one, directory = dir)
Is there a way to generate each answer item individually, as a .png
or .jpg
? I assume R creates single items and then arranges them in a grid. My goal is to generate all items individually, so I don't have to cut them by hand from the above image.
答案1
得分: 0
你需要使用 plot_fa
的 "mode" 参数。C 模式会绘制每张图片。我见过一些研究人员这样做。
英文:
You need to use the "mode" argument of plot_fa. The C mode plots every single image. I've seen this done by some researchers.
答案2
得分: 0
在plot_fa
的说明中有一个关于此的示例,它们使用:
plot_fa(something, mode = "C")
英文:
there's an example about that in the plot_fa instructions, they use:
plot_fa(something, mode = "C")
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论