timeline | R Documentation |
Timelines are series of psychTestR test elements that chain together to form a test. They support internationalisation, defining parallel series of test elements for the available languages.
Timelines are created using new_timeline
.
Timelines can be combined with other timelines and with test elements
using c
.
Timelines are ultimately passed to make_test
.
x$get(language, i)
returns a list of test elements corresponding
to language
as extracted from the timeline x
,
or, if i
is not NULL
, the ith such test element.
x$drop_languages(drop)
removes support for a set of languages
from timeline x
, where drop
is the character vector
of languages to remove.
new()
timeline$new(x)
get()
timeline$get(language, i = NULL)
drop_languages()
timeline$drop_languages(drop)
print()
timeline$print(...)
clone()
The objects of this class are cloneable with this method.
timeline$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.