Transition: R6 class representing a single transition

Description Details Active bindings Methods

Description

R6 class representing a single transition

R6 class representing a single transition

Details

The transition has a process name, conditions it occurs under, and transformations that it applies to a node

The condition ("match") are specified as in 'dplyr::filter' using the node attributes to match against. The transformations follow the same approach as 'dplyr::mutate' where a data mask basd on the attribute names is searched prior to checking for varaible names in the quosure environments.

Active bindings

id

of the transition

process

process name stored by the transition

match

process match stored by the transition

transformation

process transformation stored by the transition

Methods

Public methods


Method new()

Used as Transition$new(...) create a new transition

Usage
Transition$new(process, match, transformation)
Arguments
process

name of the process described by the transformation

match

list of conditions that the process applies to

transformation

list of transformations to use on the process

Returns

a 'Transition' object


Method clone()

The objects of this class are cloneable with this method.

Usage
Transition$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


sakrejda/smgr documentation built on Sept. 1, 2020, 10:03 a.m.