optional_pos_double_scalar: Optional positive double scalar S7 property

optional_pos_double_scalarR Documentation

Optional positive double scalar S7 property

Description

S7 property accepting NULL or a single finite double strictly greater than zero.

Usage

optional_pos_double_scalar

Value

An S7 property object.

Author(s)

EDG

Examples

Penalty <- S7::new_class(
  "Penalty",
  properties = list(gamma = optional_pos_double_scalar)
)
Penalty()@gamma
Penalty(gamma = 2)@gamma
try(Penalty(gamma = Inf))

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.