The pavlovia plugin supports running experiments online in Pavlovia.

pavlovia(
  command = js_string("init"),
  participantId = NULL,
  errorCallback = NULL
)

Arguments

command

The pavlovia command: "init" (default) or "finish".

participantId

The participant Id: any string (NULL by default).

errorCallback

The callback function called whenever an error occurs (NULL by default).