merge_control: Merge User Control Options with Defaults

View source: R/utils.R

merge_controlR Documentation

Merge User Control Options with Defaults

Description

Merge User Control Options with Defaults

Usage

merge_control(defaults, control)

Arguments

defaults

A named list of default control options set out in each geneacore and geneabout wrapper function.

control

A named list of user-supplied control options. If the user does not supply a control list (control is NULL), defaults is returned unchanged.

Details

Merges a user-supplied control list with a default control list. Unknown control options are ignored.

Value

A named list containing defaults, updated with matching values from control.


GENEAcore documentation built on Oct. 22, 2026, 5:09 p.m.