Single item generation with build_fa / plot_fa (IMak package in R)

huangapple go评论124阅读模式
英文:

Single item generation with build_fa / plot_fa (IMak package in R)

问题

我的目标是将一个问卷从一个调查软件转移到另一个。这个问卷包括30个任务,其中包括图形类比:

Single item generation with build_fa / plot_fa (IMak package in R)

为此,我需要将每个答案项单独插入调查中,从而创建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:

Single item generation with build_fa / plot_fa (IMak package in R)

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 &lt;- build_fa(isomorphs = 1, dot.mov = c(1, 2), correct = 1)

dir &lt;- &quot;C:/Users/os22e836/Desktop/REDCaps&quot;

## 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 = &quot;C&quot;)

huangapple
  • 本文由 发表于 2023年3月7日 20:52:17
  • 转载请务必保留本文链接:https://go.coder-hub.com/75662220.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定