Condition

0th

Percentile

Dependency Condition

Condition object, to specify the condition in a dependency.

Keywords
datasets
Format

R6::R6Class object.

Construction

c = Condition$new(type, rhs)
  • type :: character(1) Name / type of the condition.

  • rhs::any Right-hand-side of the condition.

Methods

  • test(function(x)) ??? -> logical(n) Checks if condition is satisfied. Called on a vector of parent param values.

Currently implemented simple conditions

  • CondEqual$new(rhs) Parent must be equal to rhs.

  • CondAnyOf$new(rhs) Parent must be any value of rhs.

Aliases
  • Condition
  • CondEqual
  • CondAnyOf
Documentation reproduced from package paradox, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.