powered by
Max number of attempts for ttm()
ttm_n()
int for ttm number of attempts
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