set_jsPsych | R Documentation |
Set the Rmd file and directory for jsPsych
set_jsPsych( folder = FALSE, jsPsych_version = "6.3.1", psychophysics_version = FALSE, exclude_smartphone = FALSE, pavlovia = FALSE, rc = FALSE )
folder |
If you set TRUE, set_jsPsych make directory that you set and put file in it(set FALSE in default) |
jsPsych_version |
If you set a specific version number of jsPsych, set_jsPsych prepare a file with that version of jsPsych. |
psychophysics_version |
If you set version number, set_jsPsych prepare a file of jspsych-psychophysics(set FALSE in default) |
exclude_smartphone |
If you set TRUE, set_jsPsych download the platform.js and set Rmd file(set FALSE in default) |
pavlovia |
If you set TRUE, set_jsPsych set Rmd for conducting the task in Pavlova (set FALSE in default) |
rc |
If you set name of folder of RC, set_jsPsych make directory of RC. |
# set_jsPsych("stroop")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.