spim_simulate_set_beta_step: Add beta_step into control

View source: R/new_simulation.R

spim_simulate_set_beta_stepR Documentation

Add beta_step into control

Description

Add beta_step into a spim_simulate_control object. Typically this happens just before running simulations, after the Rt values have been converted into beta values according to the assumptions of the simulation.

Usage

spim_simulate_set_beta_step(control, beta_step)

Arguments

control

A control object from spim_simulate_control

beta_step

Beta values; either a named list (if beta_step appears in the run grid, which it probably will) or a single set. These should be 3d arrays with dimensions corresponding to

  1. particle, 2. region, and 3. step (so time multiplied by steps_per_day)


mrc-ide/spimalot documentation built on Oct. 15, 2024, 12:15 p.m.