param_list {struct} | R Documentation |
get/set a named list of parameters and thier current value for an object
param_list(obj) param_list(obj) <- value ## S4 method for signature 'struct_class' param_list(obj) ## S4 replacement method for signature 'struct_class,list' param_list(obj) <- value
obj |
An object derived from struct_class |
value |
A named list of parameters and corresponding values |
A named list of parameters names and corresponding values
struct_class
:
obj = struct_class,value = list
:
M = example_model() L = param_list(M) M = example_model() param_list(M) = list('value_1' = 15,'value_2' = 20)