pos_integer_scalar: Positive integer scalar S7 property

pos_integer_scalarR Documentation

Positive integer scalar S7 property

Description

S7 property accepting a single non-NA integer value strictly greater than zero (e.g. 1L).

Usage

pos_integer_scalar

Value

An S7 property object.

Author(s)

EDG

Examples

Resample <- S7::new_class(
  "Resample",
  properties = list(n_resamples = pos_integer_scalar)
)
Resample(n_resamples = 10L)@n_resamples
try(Resample(n_resamples = 0L))

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