Learn R Programming

testthatmulti (version 0.2.0)

ttm_i: Iteration count for ttm()

Description

Iteration count for ttm()

Usage

ttm_i()

Arguments

Value

int for ttm iteration, starting at 1

Examples

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

Run the code above in your browser using DataLab