Learn R Programming

SpaDES.core (version 3.2.1)

.fillDotParams: Fill in unspecified dotParams for a module

Description

Ensures the per-module parameter sublist exists and that the numeric "dot" parameters (e.g., .saveInterval) default to NA_real_ when unset. Shared by simInit()'s module loop and restartSimInit()'s resume loop.

Usage

.fillDotParams(sim, m, dotParamsReal)

Value

The updated simList.

Arguments

sim

A simList.

m

Character. The (base) module name.

dotParamsReal

A list of the numeric dot-parameter names to fill.