phase_parser | R Documentation |
Parses a phase string
phase_parser(phase_string)
phase_string |
A string specifying trials within a phase. |
A named list with:
A trial-named list of lists.
General phase information.
This function is meant for internal use only, but we expose it so you can test your strings.
parse_design()
# A silly (but valid) string
phase_parser("10#Rescorla>Wagner")
# An invalid string that needs trial repetitions for one of trials.
try(phase_parser("10#Rescorla/Wagner"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.