Top levelThese are the top-level functions used to launch a psychTestR test. |
|
---|---|
Make psychTestR test |
|
Test options |
|
Display options |
|
TimelinesTimelines are sequences of test elements that define a psychTestR test. |
|
Coerce to timeline |
|
Is it a timeline object? |
|
Join test elements |
|
New timeline |
|
New results section |
|
Timeline |
|
ModulesModules group test elements into self-contained units. |
|
Create module |
|
Begin module |
|
End module |
|
Fundamental test elementsThere are three fundamental types of test elements: pages, reactive pages, and code blocks. |
|
Is object a test element? |
|
Code block |
|
Reactive page |
|
New page |
|
Control logicBy default, psychTestR steps through the list of test elements one by one. These control logic functions provide more complex behaviour. |
|
Conditional test block |
|
Deprecated functions in package psychTestR. |
|
Order at run time |
|
Randomise at run time |
|
Skip pages |
|
While loop |
|
AnswersAt a given point in the test, the |
|
Answer |
|
Answer |
|
ResultsDuring a psychTestR session, a |
|
Save results to disk (test element version) |
|
Get results |
|
Set results |
|
Access results |
|
Save result |
|
Save results to disk |
|
Pre-made pagesThese functions define several pre-made page types that may be useful in test development, either for direct use, or for reference when constructing a new page type. |
|
Make NAFC audio page |
|
Default demographics introduction |
|
New checkbox page |
|
Make dropdown list page |
|
New final page |
|
Finish test and give code |
|
Get basic demographics |
|
Get participant ID |
|
New NAFC page |
|
New one-button page |
|
New radiobutton NAFC page |
|
Slider page |
|
Text input page |
|
Make NAFC video page |
|
Make volume calibration page |
|
UI constructorsThese are helper functions for constructing new page types. |
|
Make checkboxes |
|
Make NAFC buttons |
|
Make NAFC radiobuttons |
|
Trigger button |
|
Global and local variablesThese functions support the creation and manipulation of global and local variables specific to a participant’s testing session. |
|
|
Global and local variables |
Automated testingThese functions support automated testing of psychTestR experiments. |
|
App tester |
|
ErrorsThese functions support displaying errors to the participant. |
|
Display a popup error message |
|
Error |
|
Error |
|
InternationalisationThese functions are used for creating tests that support multiple languages. |
|
Translate |
|
Dictionary |
|
Test opening/closingThese functions are used for closing and opening tests, for example, when a participant quota has been reached. |
|
Close test |
|
Open test |
|
Is test closed? |
|
URL parametersThese functions are used for accessing and manipulating URL parameters. |
|
Get URL parameters |
|
Set a URL parameter |
|
Session infoThese functions provide information about the current testing session. |
|
Get session info |
|
Supplementary results directory |
|
Get participant ID |
|
DemosThese functions are for demonstration purposes. |
|
Demo |
|
Demo options |
|
Demo: Getting URL parameters |
|
Demo: Getting URL parameters |
|
Expert useThese are miscellaneous functions that are unlikely to be useful to most users. |
|
Check directories |
|
Register next results section |
|
Test write permissions |
|
With i18n state |
|
Misc.Miscellaneous other functions. |
|
Define a macro |
|
Objects imported from other packages |
|
DeprecatedThese are functions that are supported for backwards compatibility, but whose use are not encouraged. |
|
Alias for test_options() |