Update a widget with a new value.
a list or vector with named components.
window from which to select GUI widget values. The default takes the window that has most recently received new user input.
vars argument expects a list or vector with named elements.
Every element name corresponds to the widget name which will be updated
with the supplied element value.
data widgets can be updated in
several ways. If more than one name is specified for the
of these widgets, each element is treated like an
If however, a single
name describes any of these three widgets, the entire
widget can be updated by passing an appropriately sized object.
Alternatively, any element can be updated by appending its index in square brackets
to the end of the
data widget is indexed differently
matrix widget by adding "d" after the brackets. This tweak is necessary
for the internal coding (bookkeeping) of PBS Modelling. Example:
Alex Couture-Beil, Vancouver Island University, Nanaimo BC
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.