ttm_i: Iteration count for ttm()

View source: R/ttm_i_and_n.R

ttm_iR Documentation

Iteration count for ttm()

Description

Iteration count for ttm()

Usage

ttm_i()

Value

int for ttm iteration, starting at 1

Examples

ttm(100, {
  x <- runif(1)
  cat('ttm i =', ttm_i(), 'n =', ttm_n(), 'x =', x, '\n')
  ttm_expect_true(x < 0.1)
})

testthatmulti documentation built on Aug. 25, 2025, 1:10 a.m.