-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathexperiment.Rmd
More file actions
34 lines (29 loc) · 890 Bytes
/
experiment.Rmd
File metadata and controls
34 lines (29 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: "系列位置効果"
author: '@kohske'
date: "2020/4/5"
output:
html_document:
mathjax: null
highlight: null
theme: null
css: ../lib/jspsych-6.1.0/css/jspsych.css
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, message=FALSE, warning=FALSE)
```
```{r}
library(htmltools)
tagList(
tags$script(src='../lib/jspsych-6.1.0/jspsych.js'),
tags$script(src='../lib/jspsych-6.1.0/plugins/jspsych-html-keyboard-response.js'),
tags$script(src='../lib/jspsych-psychophysics-0.3/jspsych-psychophysics.js')
)
```
<script>
var stimulus_duration = 3000;
var interval_duration = 1000;
var words = ["ルケ", "ニロ", "コハ", "エレ", "ヌテ", "アタ", "モセ", "クナ", "サウ", "ヤハ"];
</script>
<script src="main.js"></script>
<textarea id="result" value="1" cols="30" rows="30" maxlength="15" style="display:none"></textarea>