get_sim_rate_slice: Extract one saved simulation state for a rate calculation

View source: R/sim_rates.R

get_sim_rate_sliceR Documentation

Extract one saved simulation state for a rate calculation

Description

Internal helper used by MizerSim rate methods to rebuild the single-time inputs expected by MizerParams rate methods.

Usage

get_sim_rate_slice(sim, time_idx)

Arguments

sim

A MizerSim object.

time_idx

Integer index of the saved time step to extract.

Value

A list with entries n, n_pp, n_other, effort, and t.


mizer documentation built on Aug. 24, 2026, 9:08 a.m.