| ParamList | R Documentation |
R6 class representing the set of parameters used in an analysis
R6 class representing the set of parameters used in an analysis
new()Create a new set of parameters.
ParamList$new(defaults = list())
defaultsNamed list of default values. Names are the parameters, and the values will be their default.
An object that will store all future values of analysis parameters.
set()Set the value of a parameter
ParamList$set(id, value, description = "", div = TRUE)
idThe name of the parameter to be set.
valueThe value the parameter should taken henceforth; if missing, it will take the default value.
descriptionA string describing what the purpose of the parameter is.
divLogical, whether to mention in the markdown report what the value has been set to.
get()Get the value that the parameter is currently set to.
ParamList$get(id)
idName of the value you want to access.
publish()Turn the mutable object into a list
ParamList$publish()
describe()Get a text description of what the setting is, and what value it currently takes.
ParamList$describe(id)
idName of the value you want to access.
clone()The objects of this class are cloneable with this method.
ParamList$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.