getWinVal {PBSmodelling} | R Documentation |
An optional scope argument allows the function to create local or global variables based on the list that is returned.
getWinVal(v=NULL, scope="", asvector=FALSE, windowname="")
v |
vector of variable names to be retrieved. If NULL, it is set to every widget. |
scope |
If "" , do not set any variables.
If "L" create variables local to the parent frame that called the function.
If "G" create global variables. |
asvector |
return a vector instead of a list. WARNING: if a widget variable is a true vector or matrix, this will not work. |
windowname |
Which window to select values from. If "" is given, it will use the most recently active window determined from PBS.win\$windowname . |
A list (or vector) with named components, based on the variable name as the key, and the value of the associated widget as the value.