positive integer scalar, number of bootstrap replicates \(R\)
Details
Function bootid generates the same bootstrap indices as
those generated from the default options of function boot
(i.e., sim = 'ordinary' and m = 0),
given the same Random seed.
set.seed(1345); boot::boot(data = 1:10, statistic = function(data, ind) ind, R = 3L)[['t']]
set.seed(1345); bootid(10L, R = 3L) # same copies of indices