make_recorders: Create empty recorder vectors for MC iterations

View source: R/mc_is_helpers.R

make_recordersR Documentation

Create empty recorder vectors for MC iterations

Description

Preallocates numeric vectors and time tracking data frames used to record intermediate results during simulation loops.

Usage

make_recorders(n_iter)

Arguments

n_iter

Expected maximum number of iterations/batches in the simulation loop.

Value

A list containing numeric vectors ('pf', 'var', 'cov', etc.) and a nested time data frame with user/system/elapsed times per iteration.


TesiproV documentation built on Oct. 28, 2026, 5:13 p.m.