Description Usage Details See Also Examples
After load_commands(expt)
is called, entering READY
,
START
, HALT
, PAUSE
, RESTART
, INFO
,
MAP
or WEB_TEST
will call the corresponding command on the
experiment, with no arguments.
1 | load_commands(expt)
|
load_commands
is implemented using makeActiveBinding
.
For obvious reasons, don't assign to the values READY
etc. either before
or after this is called!
unload_commands
simply removes the command names from the global
environment.
Other command line functions: get_url
,
info
, map
,
nperiods
,
print,Experiment,ANY-method
,
print,Experiment-method
,
print_stages
, session_name
;
halt
; merge_subjects
;
next_stage
; pause
;
ready
; replay
;
restart
; start.Experiment
;
trace_stage
, untrace_stage
1 2 3 4 | expt <- experiment(name="myexpt", N=2, seats_file=NULL, record=FALSE)
info(expt)
load_commands(expt)
INFO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.