Participant: Participant

Description Format Public fields Methods

Description

Participant Class

Format

An R6Class generator object

Public fields

id

character [optional]

study_code

character [optional]

language

character [optional]

theme

character [optional]

emergency_contact

character [optional]

helpline

character [optional]

Methods

Public methods


Method new()

Usage
Participant$new(
  id = NULL,
  study_code = NULL,
  language = NULL,
  theme = NULL,
  emergency_contact = NULL,
  helpline = NULL,
  ...
)

Method toJSON()

Usage
Participant$toJSON()

Method fromJSON()

Usage
Participant$fromJSON(ParticipantJson)

Method toJSONString()

Usage
Participant$toJSONString()

Method fromJSONString()

Usage
Participant$fromJSONString(ParticipantJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
Participant$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


BIDMCDigitalPsychiatry/LAMP-r documentation built on April 29, 2020, 9:51 a.m.