system_set_parameter: Set Value for Parameter

View source: R/ubiquity.r

system_set_parameterR Documentation

Set Value for Parameter

Description

Assigns a value for a named parameter in a parameter list.

Usage

system_set_parameter(cfg, parameters, pname, value)

Arguments

cfg

ubiquity system object

parameters

vector of parameters

pname

parameter name

value

value

Details

To set the parameter Vc to a value of 3, the following would be used:

parameters = system_fetch_parameters(cfg) 
parameters = system_set_parameter(cfg, parameters, pname = 'Vc', value = 3) 

Value

parameters vector with pname set to value


ubiquity documentation built on May 29, 2024, 12:02 p.m.