powered by
Iteration count for ttm()
ttm_i()
int for ttm iteration, starting at 1
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