Skip to contents

Loads a generalized control object from an .RData or .json file, or accepts an already-loaded list.

Usage

read_smrg_ctrl(ctrl)

Arguments

ctrl

Character path to a .RData or .json file, or a GCO list object.

Value

A GCO list. When ctrl is a file path, the object is loaded from disk; when ctrl is already a list, it is returned unchanged.