Description Usage Arguments See Also Examples
This is a convenience function. It creates a data frame with N * periods
rows, with a column id
varying from 1 to N
and a column period
varying
from 1 to periods
. The data frame is sorted by period, then by ID.
N
and periods
can be specified manually, or you can just pass in
the experiment
object and the function will guess for you.
1 | experiment_data_frame(experiment = NULL, N = NULL, periods = NULL, ...)
|
experiment |
an Experiment object |
N |
number of subjects |
periods |
number of periods |
... |
other arguments to data.frame |
Other development tools: identify_seats
;
web_test
; write_data
1 2 3 4 | expt <- experiment(N=5)
s1 <- text_stage(page="<html><body>got here</body></html>")
add_stage(expt, s1, period(), times=5)
mydf <- experiment_data_frame(expt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.