Description Usage Arguments Value
Convert MedPC File to an R data table
1 |
file |
string or vector; complete path to MedPC data file |
group |
string (optional); experimental group of animal |
condition |
string (optional); experimental condition (i.e. drug) |
data table with the following variables:
subject
group
condition
date = ddmmyy
trial = trial number
pLeftBlink = p(left blink) on trial
pRightBlink = p(right blink) on trial, 1-p(left blink)
blinkSequence = actual sequence of blinks from start of trial until response
choice = choice on trial; 0=left, 1=right
RT = response time for trial
omission = did rat get reward (only applicable for correct trials)? 0 if yes, 1 if no
rewardRT = response time from decision to reward; 0 if incorrect
startTime = time in session at start of trial
decisionTime = time in session at decision
rewardTime = time in session at reward receipt
trialTime = duration of trial
pCorrectBlink = p(blink) on correct side; p(left blink) if left is correct, p(right blink) if right is correct
correctSide = 0 is left is correct answer, 1 if right is correct answer
correctChoice = 0 if incorrect, 1 if correct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.