identify_turns | R Documentation |
Given an list of 1 & 0's', identify indices where a 1 is preceded by a 0. Patches 0s in place of NAs.
identify_turns(y)
y |
a list of 1 & 0s |
Returns the indices of all turn trials.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.