Learn R Programming

mizer (version 3.0.0)

get_sim_rate_slice: 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)

Value

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

Arguments

sim

A MizerSim object.

time_idx

Integer index of the saved time step to extract.