The structure of PMOD R variables is described above. A user may want to program scripts which address and process such variables. A list of functions can be obtained by simply typing "pm." into the command window. Moving the cursor over the list entries pops up a window with a syntax description and an example.
Another approach which is particularly helpful when beginning with scripts is using the extraction button
After selecting an entry, a dialog window is shown, in the case of Get experiment
When confirming the window, corresponding R code is generated
experiment = pm.getr("g1", "vt",c(1:13), 1, 3, 1.0);
which can be seen if the Execute box is not enabled.