File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 150
150
# ' @param max_samples Integer. Maximum number of resamples when `random = TRUE`. Must be positive. Default is 100.
151
151
# ' @param subpop Logical. If TRUE, will run meta-analyses with groups. Default is FALSE.
152
152
# ' @param trace Logical. If TRUE, prints progress messages. Default is FALSE.
153
+ # ' @param .iter_size Numeric. The size of each iteration step. Default is 2.
153
154
# ' @param .only_max_m Logical. If TRUE, will only run the maximum number of individuals. Default is FALSE.
154
155
# ' @param .lists A list containing already created meta inputs. Default is NULL.
155
156
# '
@@ -170,6 +171,7 @@ run_meta_permutations <- function(rv,
170
171
random = FALSE ,
171
172
max_samples = 100 ,
172
173
trace = FALSE ,
174
+ .iter_size = 2 ,
173
175
.only_max_m = FALSE ,
174
176
.lists = NULL ) {
175
177
@@ -263,7 +265,9 @@ run_meta_permutations <- function(rv,
263
265
}
264
266
265
267
m_iter <- NULL
266
- m_iter <- .get_sequence(input [[" All" ]], grouped = subpop )
268
+ m_iter <- .get_sequence(input [[" All" ]],
269
+ .iter_size = .iter_size ,
270
+ grouped = subpop )
267
271
if (.only_max_m ) m_iter <- max(m_iter )
268
272
269
273
for (m in m_iter ) {
You can’t perform that action at this time.
0 commit comments