Skip to content
Build jsPsych Experiments in R
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R update documentation for tl_ functions Dec 4, 2019
docs update documentation for tl_ functions Dec 4, 2019
inst/extdata backend.py allows data download Dec 1, 2019
man update documentation for tl_ functions Dec 4, 2019
misc more API changes Nov 21, 2019
tests set up for unit tests Nov 21, 2019
vignettes typo tiny spotted Jan 19, 2020
.Rbuildignore update buildignore Dec 4, 2019
.gitignore fork from xprmntr Oct 28, 2019
.travis.yml set up for unit tests Nov 21, 2019
.workbch fixes documentation/argument build errors Nov 15, 2019
DESCRIPTION set up for unit tests Nov 21, 2019
LICENSE fork from xprmntr Oct 28, 2019
LICENSE.md fork from xprmntr Oct 28, 2019
NAMESPACE adds keycode() function Dec 1, 2019
README.Rmd adds links to README Jan 15, 2020
README.md adds links to README Jan 15, 2020
_pkgdown.yml restructure vignettes slightly Dec 4, 2019
codecov.yml set up for unit tests Nov 21, 2019
jaysire.Rproj

README.md

Behavioural experiments with jaysire

Travis build status Lifecycle: experimental Codecov test coverage CRAN status

The goal of jaysire is to provide a method for writing behavioural experiments in R that can be deployed through a web browser. The package relies on the jsPsych library by Josh de Leeuw (GitHub page) to create the experiments, and is structured so that functions in jaysire use the same argument names as the corresponding jsPsych functions. For the most part, function names in jaysire are organised around families that share a common prefix. For example, the trial_ family is used to define individual trials within an experiment, build_ functions construct more complex entities, and so on. See the reference page for the complete list of all functions.

Installation

The jaysire package has not been released on CRAN, but you can install it directly from GitHub using the following commands:

#install.packages("remotes")
remotes::install_github("djnavarro/jaysire")

Getting started

There are a series of tutorial articles:

  1. Getting started
  2. Randomisation, repetition and variables
  3. Using resource files
  4. Image, video and audio files
  5. Buttons, key presses and sliders
  6. Survey pages
  7. Loops and branches
  8. A choice reaction time task

Related packages

Name

The name “jaysire” is a phonetic transcription of “j-psy-R”, reflecting the fact that it adheres closely to the design principles used in the jsPsych javascript library.

You can’t perform that action at this time.