ActivityEvent: ActivityEvent

Description Format Public fields Methods

Description

ActivityEvent Class

Format

An R6Class generator object

Public fields

timestamp

numeric [optional]

duration

integer [optional]

activity

character [optional]

temporal_slices

list( object ) [optional]

Methods

Public methods


Method new()

Usage
ActivityEvent$new(
  timestamp = NULL,
  duration = NULL,
  activity = NULL,
  data = NULL,
  temporal_slices = NULL,
  ...
)

Method toJSON()

Usage
ActivityEvent$toJSON()

Method fromJSON()

Usage
ActivityEvent$fromJSON(ActivityEventJson)

Method toJSONString()

Usage
ActivityEvent$toJSONString()

Method fromJSONString()

Usage
ActivityEvent$fromJSONString(ActivityEventJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
ActivityEvent$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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