EGQ | R Documentation |
This function defines an Experience of Groove Questionnaire
\insertCite@EGQ; @EGQPapergroovescale module for incorporation into a
psychTestR timeline. Use this function if you want to include the EGQ in a
battery of other tests, or if you want to add custom psychTestR pages to
your test timeline. For a standalone implementation of the EGQ, consider
using EGQ_standalone()
.
EGQ(
label = "jingle",
url = "https://raw.githubusercontent.com/KilianSander/groovescale/master/inst/www/audio/jingle.mp3",
type = tools::file_ext(url),
dict = groovescale::groovescale_dict,
random_order = FALSE,
show_controls = TRUE,
allow_download = FALSE,
...
)
label |
(Character scalar) Label for the current page. |
url |
URL to the audio. Can be an absolute URL (e.g. "http://mysite.com/audio.mp3") or a URL relative to the /www directory (e.g. "audio.mp3"). |
type |
Audio type (e.g. 'mp3'). Defaults to the provided file extension. |
random_order |
(Boolean scalar) Whether the order of the items should be randomized. |
show_controls |
Whether or not to show audio controls to the participant, so that they can control audio playback. |
allow_download |
Whether the participant is given a button to download
the audio file; only relevant if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.