branches_upsample: Samples 'branch'

View source: R/utils.R

branches_upsampleR Documentation

Samples branch

Description

A block is a permutation of all unique elements in branch. Then, we sample n blocks. This is better than repeating one sample a certain number of times because if compute resources steadily increase, the first sample will always perform worse than the second, so the order within the blocks must be random.

Usage

branches_upsample(branch, n = 20)

lorenzwalthert/touchstone documentation built on April 20, 2024, 9:57 a.m.