Description Usage Arguments Value Examples
This function takes the data column from the output of
read_prpt
and separates the three phases of the task, saving
them to the environment phrase
, which is initialized behind the
scenes. It also separates the initial icon rating phase and the final icon
rating phase. This function must be run in order to use the other
functions that parse the choice data. If it is not, the phases will need to
be isolated by hand and assigned to the phase environment (or local/global
variables). See the Details section for more on how to access the
three phases.
1 | get_phases(data, final_icon_rating = FALSE)
|
data |
The data output from |
final_icon_rating |
LOGICAL: FALSE by default for the majority of PRPT tasks that don't ask for final icon ratings. TRUE, and the phases will return those trials |
A list of data for each phase in the PRPT task.
1 2 3 4 5 | phase_info <- get_phases(sample_data)
# Print different phase information by indexing into the object.
# Phase three can be accessed as follows, for example:
phase_info$phaseThree
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.