| Parameters-class {oppr} | R Documentation |
Parameters class
Description
This class represents a collection of Parameter objects. It provides methods for accessing, updating, and rendering the parameters stored inside it.
Fields
- $parameters
listobject containing Parameter objects.
Usage
x$print()
x$show()
x$repr()
x$names()
x$ids()
x$length()
x$get(id)
x$set(id, value)
x$add(p)
x$render(id)
x$render_all()
Arguments
Details
print the object.
- show
show the object.
- repr
characterrepresentation of object.- names
return
characternames of parameters.- ids
return
characterparameter unique identifiers.- length
return
integernumber of parameters in object.- get
retrieve the value of a parameter in the object using an
Idobject.- set
change the value of a parameter in the object to a new object.
- render
generate a shiny widget to modify the the value of a parameter (specified by argument
Id).- render_all
generate a
shiny::div()containing all the parameters" widgets.