ttm_n: Max number of attempts for ttm()

View source: R/ttm_i_and_n.R

ttm_nR Documentation

Max number of attempts for ttm()

Description

Max number of attempts for ttm()

Usage

ttm_n()

Value

int for ttm number of attempts

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.