[R] Data conversion

Jim Lemon drj|m|emon @end|ng |rom gm@||@com
Wed Sep 18 23:43:07 CEST 2019


Hi Edward,
Say your "data frame" is named "epdat". This may do it:

epmat<-matrix(epdat[10:289],nrow=28)
colnames(epmat)<-sub("1","",names(epdat[10:289])[seq(1,270,by=28)])

This one looks like the Sorceror's Apprentice tangled with one of
those experimental schedule scripting programs.

Jim

On Thu, Sep 19, 2019 at 7:04 AM Patzelt, Edward <patzelt using g.harvard.edu> wrote:
>
> Hi R Help,
>
> How would I convert the data below so that I have it formatted with trials
> along the rows and then each type of measure separately? e.g.,
>             Subject RT OnOff Feedback
> Trial_1
> Trial_2
> Trial_3
> Trial_4
>
> Thanks!
>
> Edward
>
>
>
>
>
> structure(list(TAP_ID = "967372   ", TAP_Date = NA_real_, TAP_Time = 29700,
>     TAP_Study = "                      ", SexOfTarget = "M",
>     SexOfSubj = "M", OperatorName = "                ", LowThresh = 220,
>     HighThresh = 1320, Trial1 = 1, Trial2 = 2, Trial3 = 3, Trial4 = 4,
>     Trial5 = 5, Trial6 = 6, Trial7 = 7, Trial8 = 8, Trial9 = 9,
>     Trial10 = 10, Trial11 = 11, Trial12 = 12, Trial13 = 13, Trial14 = 14,
>     Trial15 = 15, Trial16 = 16, Trial17 = 17, Trial18 = 18, Trial19 = 19,
>     Trial20 = 20, Trial21 = 21, Trial22 = 22, Trial23 = 23, Trial24 = 24,
>     Trial25 = 25, Trial26 = 26, Trial27 = 27, Trial28 = 28, ITI1 = 5,
>     ITI2 = 5, ITI3 = 5, ITI4 = 5, ITI5 = 5, ITI6 = 5, ITI7 = 5,
>     ITI8 = 5, ITI9 = 5, ITI10 = 5, ITI11 = 5, ITI12 = 5, ITI13 = 5,
>     ITI14 = 5, ITI15 = 5, ITI16 = 5, ITI17 = 5, ITI18 = 5, ITI19 = 5,
>     ITI20 = 5, ITI21 = 5, ITI22 = 5, ITI23 = 5, ITI24 = 5, ITI25 = 5,
>     ITI26 = 5, ITI27 = 5, ITI28 = 5, Shock1 = 0, Shock2 = 0,
>     Shock3 = 0, Shock4 = 0, Shock5 = 0, Shock6 = 0, Shock7 = 0,
>     Shock8 = 0, Shock9 = 0, Shock10 = 0, Shock11 = 0, Shock12 = 0,
>     Shock13 = 0, Shock14 = 0, Shock15 = 0, Shock16 = 0, Shock17 = 0,
>     Shock18 = 0, Shock19 = 0, Shock20 = 0, Shock21 = 0, Shock22 = 0,
>     Shock23 = 0, Shock24 = 0, Shock25 = 0, Shock26 = 0, Shock27 = 0,
>     Shock28 = 0, Delay1 = 1102, Delay2 = 993, Delay3 = 446, Delay4 = 613,
>     Delay5 = 649, Delay6 = 333, Delay7 = 342, Delay8 = 366, Delay9 = 360,
>     Delay10 = 307, Delay11 = 372, Delay12 = 335, Delay13 = 328,
>     Delay14 = 296, Delay15 = 521, Delay16 = 393, Delay17 = 491,
>     Delay18 = 467, Delay19 = 401, Delay20 = 483, Delay21 = 312,
>     Delay22 = 311, Delay23 = 274, Delay24 = 348, Delay25 = 422,
>     Delay26 = 305, Delay27 = 637, Delay28 = 429, Hold1 = 1203,
>     Hold2 = 598, Hold3 = 1209, Hold4 = 1373, Hold5 = 1170, Hold6 = 1442,
>     Hold7 = 2192, Hold8 = 1802, Hold9 = 1891, Hold10 = 1880,
>     Hold11 = 1204, Hold12 = 1597, Hold13 = 809, Hold14 = 848,
>     Hold15 = 1328, Hold16 = 767, Hold17 = 1053, Hold18 = 1648,
>     Hold19 = 1365, Hold20 = 1889, Hold21 = 1452, Hold22 = 1468,
>     Hold23 = 1595, Hold24 = 2060, Hold25 = 1213, Hold26 = 1060,
>     Hold27 = 745, Hold28 = 1110, RTdelay1 = 800, RTdelay2 = 251,
>     RTdelay3 = 422, RTdelay4 = 264, RTdelay5 = 397, RTdelay6 = 472,
>     RTdelay7 = 225, RTdelay8 = 228, RTdelay9 = 430, RTdelay10 = 527,
>     RTdelay11 = 244, RTdelay12 = 747, RTdelay13 = 269, RTdelay14 = 330,
>     RTdelay15 = 400, RTdelay16 = 401, RTdelay17 = 394, RTdelay18 = 364,
>     RTdelay19 = 210, RTdelay20 = 415, RTdelay21 = 267, RTdelay22 = 248,
>     RTdelay23 = 209, RTdelay24 = 277, RTdelay25 = 498, RTdelay26 = 663,
>     RTdelay27 = 331, RTdelay28 = 494, RTheld1 = 2318, RTheld2 = 2039,
>     RTheld3 = 2594, RTheld4 = 2061, RTheld5 = 1501, RTheld6 = 1070,
>     RTheld7 = 2492, RTheld8 = 1532, RTheld9 = 2034, RTheld10 = 2338,
>     RTheld11 = 1095, RTheld12 = 2227, RTheld13 = 2402, RTheld14 = 1057,
>     RTheld15 = 1718, RTheld16 = 1789, RTheld17 = 1611, RTheld18 = 1824,
>     RTheld19 = 1582, RTheld20 = 2749, RTheld21 = 1407, RTheld22 = 1780,
>     RTheld23 = 1103, RTheld24 = 1513, RTheld25 = 1562, RTheld26 = 2283,
>     RTheld27 = 2722, RTheld28 = 2703, RT1 = 284, RT2 = 228, RT3 = 226,
>     RT4 = 186, RT5 = 208, RT6 = 223, RT7 = 206, RT8 = 189, RT9 = 229,
>     RT10 = 198, RT11 = 224, RT12 = 203, RT13 = 199, RT14 = 224,
>     RT15 = 220, RT16 = 208, RT17 = 270, RT18 = 188, RT19 = 205,
>     RT20 = 191, RT21 = 190, RT22 = 183, RT23 = 193, RT24 = 176,
>     RT25 = 195, RT26 = 196, RT27 = 185, RT28 = 160, Feedback1 = 2,
>     Feedback2 = 2, Feedback3 = 3, Feedback4 = 3, Feedback5 = 2,
>     Feedback6 = 3, Feedback7 = 4, Feedback8 = 5, Feedback9 = 5,
>     Feedback10 = 6, Feedback11 = 5, Feedback12 = 6, Feedback13 = 6,
>     Feedback14 = 7, Feedback15 = 9, Feedback16 = 8, Feedback17 = 9,
>     Feedback18 = 8, Feedback19 = 8, Feedback20 = 9, Feedback21 = 20,
>     Feedback22 = 9, Feedback23 = 8, Feedback24 = 9, Feedback25 = 8,
>     Feedback26 = 8, Feedback27 = 9, Feedback28 = 8, OnOff1 = 1,
>     OnOff2 = 0, OnOff3 = 0, OnOff4 = 1, OnOff5 = 0, OnOff6 = 1,
>     OnOff7 = 0, OnOff8 = 0, OnOff9 = 1, OnOff10 = 1, OnOff11 = 0,
>     OnOff12 = 1, OnOff13 = 0, OnOff14 = 1, OnOff15 = 1, OnOff16 = 0,
>     OnOff17 = 1, OnOff18 = 0, OnOff19 = 1, OnOff20 = 0, OnOff21 = 0,
>     OnOff22 = 1, OnOff23 = 0, OnOff24 = 1, OnOff25 = 0, OnOff26 = 1,
>     OnOff27 = 0, OnOff28 = 1), class = "data.frame", row.names = c(NA,
> -1L), variable.labels = c(TAP_ID = "", TAP_Date = "", TAP_Time = "",
> TAP_Study = "", SexOfTarget = "", SexOfSubj = "", OperatorName = "",
> LowThresh = "", HighThresh = "", Trial1 = "Trial number 1", Trial2 = "Trial
> number 2",
> Trial3 = "Trial number 3", Trial4 = "Trial number 4", Trial5 = "Trial
> number 5",
> Trial6 = "Trial number 6", Trial7 = "Trial number 7", Trial8 = "Trial
> number 8",
> Trial9 = "Trial number 9", Trial10 = "Trial number 10", Trial11 = "Trial
> number 11",
> Trial12 = "Trial number 12", Trial13 = "Trial number 13", Trial14 = "Trial
> number 14",
> Trial15 = "Trial number 15", Trial16 = "Trial number 16", Trial17 = "Trial
> number 17",
> Trial18 = "Trial number 18", Trial19 = "Trial number 19", Trial20 = "Trial
> number 20",
> Trial21 = "Trial number 21", Trial22 = "Trial number 22", Trial23 = "Trial
> number 23",
> Trial24 = "Trial number 24", Trial25 = "Trial number 25", Trial26 = "Trial
> number 26",
> Trial27 = "Trial number 27", Trial28 = "Trial number 28", ITI1 = "ITI in
> seconds = time between end of trial to beginning of next trial  1",
> ITI2 = "ITI in seconds = time between end of trial to beginning of next
> trial  2",
> ITI3 = "ITI in seconds = time between end of trial to beginning of next
> trial  3",
> ITI4 = "ITI in seconds = time between end of trial to beginning of next
> trial  4",
> ITI5 = "ITI in seconds = time between end of trial to beginning of next
> trial  5",
> ITI6 = "ITI in seconds = time between end of trial to beginning of next
> trial  6",
> ITI7 = "ITI in seconds = time between end of trial to beginning of next
> trial  7",
> ITI8 = "ITI in seconds = time between end of trial to beginning of next
> trial  8",
> ITI9 = "ITI in seconds = time between end of trial to beginning of next
> trial  9",
> ITI10 = "ITI in seconds = time between end of trial to beginning of next
> trial  10",
> ITI11 = "ITI in seconds = time between end of trial to beginning of next
> trial  11",
> ITI12 = "ITI in seconds = time between end of trial to beginning of next
> trial  12",
> ITI13 = "ITI in seconds = time between end of trial to beginning of next
> trial  13",
> ITI14 = "ITI in seconds = time between end of trial to beginning of next
> trial  14",
> ITI15 = "ITI in seconds = time between end of trial to beginning of next
> trial  15",
> ITI16 = "ITI in seconds = time between end of trial to beginning of next
> trial  16",
> ITI17 = "ITI in seconds = time between end of trial to beginning of next
> trial  17",
> ITI18 = "ITI in seconds = time between end of trial to beginning of next
> trial  18",
> ITI19 = "ITI in seconds = time between end of trial to beginning of next
> trial  19",
> ITI20 = "ITI in seconds = time between end of trial to beginning of next
> trial  20",
> ITI21 = "ITI in seconds = time between end of trial to beginning of next
> trial  21",
> ITI22 = "ITI in seconds = time between end of trial to beginning of next
> trial  22",
> ITI23 = "ITI in seconds = time between end of trial to beginning of next
> trial  23",
> ITI24 = "ITI in seconds = time between end of trial to beginning of next
> trial  24",
> ITI25 = "ITI in seconds = time between end of trial to beginning of next
> trial  25",
> ITI26 = "ITI in seconds = time between end of trial to beginning of next
> trial  26",
> ITI27 = "ITI in seconds = time between end of trial to beginning of next
> trial  27",
> ITI28 = "ITI in seconds = time between end of trial to beginning of next
> trial  28",
> Shock1 = "Shock selection = our primary DV  1", Shock2 = "Shock selection =
> our primary DV  2",
> Shock3 = "Shock selection = our primary DV  3", Shock4 = "Shock selection =
> our primary DV  4",
> Shock5 = "Shock selection = our primary DV  5", Shock6 = "Shock selection =
> our primary DV  6",
> Shock7 = "Shock selection = our primary DV  7", Shock8 = "Shock selection =
> our primary DV  8",
> Shock9 = "Shock selection = our primary DV  9", Shock10 = "Shock selection
> = our primary DV  10",
> Shock11 = "Shock selection = our primary DV  11", Shock12 = "Shock
> selection = our primary DV  12",
> Shock13 = "Shock selection = our primary DV  13", Shock14 = "Shock
> selection = our primary DV  14",
> Shock15 = "Shock selection = our primary DV  15", Shock16 = "Shock
> selection = our primary DV  16",
> Shock17 = "Shock selection = our primary DV  17", Shock18 = "Shock
> selection = our primary DV  18",
> Shock19 = "Shock selection = our primary DV  19", Shock20 = "Shock
> selection = our primary DV  20",
> Shock21 = "Shock selection = our primary DV  21", Shock22 = "Shock
> selection = our primary DV  22",
> Shock23 = "Shock selection = our primary DV  23", Shock24 = "Shock
> selection = our primary DV  24",
> Shock25 = "Shock selection = our primary DV  25", Shock26 = "Shock
> selection = our primary DV  26",
> Shock27 = "Shock selection = our primary DV  27", Shock28 = "Shock
> selection = our primary DV  28",
> Delay1 = "Select switch delay (msec) = time from “set” to select shock 1",
> Delay2 = "Select switch delay (msec) = time from “set” to select shock 2",
> Delay3 = "Select switch delay (msec) = time from “set” to select shock 3",
> Delay4 = "Select switch delay (msec) = time from “set” to select shock 4",
> Delay5 = "Select switch delay (msec) = time from “set” to select shock 5",
> Delay6 = "Select switch delay (msec) = time from “set” to select shock 6",
> Delay7 = "Select switch delay (msec) = time from “set” to select shock 7",
> Delay8 = "Select switch delay (msec) = time from “set” to select shock 8",
> Delay9 = "Select switch delay (msec) = time from “set” to select shock 9",
> Delay10 = "Select switch delay (msec) = time from “set” to select shock
> 10",
> Delay11 = "Select switch delay (msec) = time from “set” to select shock
> 11",
> Delay12 = "Select switch delay (msec) = time from “set” to select shock
> 12",
> Delay13 = "Select switch delay (msec) = time from “set” to select shock
> 13",
> Delay14 = "Select switch delay (msec) = time from “set” to select shock
> 14",
> Delay15 = "Select switch delay (msec) = time from “set” to select shock
> 15",
> Delay16 = "Select switch delay (msec) = time from “set” to select shock
> 16",
> Delay17 = "Select switch delay (msec) = time from “set” to select shock
> 17",
> Delay18 = "Select switch delay (msec) = time from “set” to select shock
> 18",
> Delay19 = "Select switch delay (msec) = time from “set” to select shock
> 19",
> Delay20 = "Select switch delay (msec) = time from “set” to select shock
> 20",
> Delay21 = "Select switch delay (msec) = time from “set” to select shock
> 21",
> Delay22 = "Select switch delay (msec) = time from “set” to select shock
> 22",
> Delay23 = "Select switch delay (msec) = time from “set” to select shock
> 23",
> Delay24 = "Select switch delay (msec) = time from “set” to select shock
> 24",
> Delay25 = "Select switch delay (msec) = time from “set” to select shock
> 25",
> Delay26 = "Select switch delay (msec) = time from “set” to select shock
> 26",
> Delay27 = "Select switch delay (msec) = time from “set” to select shock
> 27",
> Delay28 = "Select switch delay (msec) = time from “set” to select shock
> 28",
> Hold1 = "Select switch hold (msec) = how long select button held 1",
> Hold2 = "Select switch hold (msec) = how long select button held 2",
> Hold3 = "Select switch hold (msec) = how long select button held 3",
> Hold4 = "Select switch hold (msec) = how long select button held 4",
> Hold5 = "Select switch hold (msec) = how long select button held 5",
> Hold6 = "Select switch hold (msec) = how long select button held 6",
> Hold7 = "Select switch hold (msec) = how long select button held 7",
> Hold8 = "Select switch hold (msec) = how long select button held 8",
> Hold9 = "Select switch hold (msec) = how long select button held 9",
> Hold10 = "Select switch hold (msec) = how long select button held 10",
> Hold11 = "Select switch hold (msec) = how long select button held 11",
> Hold12 = "Select switch hold (msec) = how long select button held 12",
> Hold13 = "Select switch hold (msec) = how long select button held 13",
> Hold14 = "Select switch hold (msec) = how long select button held 14",
> Hold15 = "Select switch hold (msec) = how long select button held 15",
> Hold16 = "Select switch hold (msec) = how long select button held 16",
> Hold17 = "Select switch hold (msec) = how long select button held 17",
> Hold18 = "Select switch hold (msec) = how long select button held 18",
> Hold19 = "Select switch hold (msec) = how long select button held 19",
> Hold20 = "Select switch hold (msec) = how long select button held 20",
> Hold21 = "Select switch hold (msec) = how long select button held 21",
> Hold22 = "Select switch hold (msec) = how long select button held 22",
> Hold23 = "Select switch hold (msec) = how long select button held 23",
> Hold24 = "Select switch hold (msec) = how long select button held 24",
> Hold25 = "Select switch hold (msec) = how long select button held 25",
> Hold26 = "Select switch hold (msec) = how long select button held 26",
> Hold27 = "Select switch hold (msec) = how long select button held 27",
> Hold28 = "Select switch hold (msec) = how long select button held 28",
> RTdelay1 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  1",
> RTdelay2 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  2",
> RTdelay3 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  3",
> RTdelay4 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  4",
> RTdelay5 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  5",
> RTdelay6 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  6",
> RTdelay7 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  7",
> RTdelay8 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  8",
> RTdelay9 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  9",
> RTdelay10 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  10",
> RTdelay11 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  11",
> RTdelay12 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  12",
> RTdelay13 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  13",
> RTdelay14 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  14",
> RTdelay15 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  15",
> RTdelay16 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  16",
> RTdelay17 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  17",
> RTdelay18 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  18",
> RTdelay19 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  19",
> RTdelay20 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  20",
> RTdelay21 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  21",
> RTdelay22 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  22",
> RTdelay23 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  23",
> RTdelay24 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  24",
> RTdelay25 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  25",
> RTdelay26 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  26",
> RTdelay27 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  27",
> RTdelay28 = "RT switch delay (msec) = time from “press” to holding “press”
> button down  28",
> RTheld1 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 1",
> RTheld2 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 2",
> RTheld3 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 3",
> RTheld4 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 4",
> RTheld5 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 5",
> RTheld6 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 6",
> RTheld7 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 7",
> RTheld8 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 8",
> RTheld9 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 9",
> RTheld10 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 10",
> RTheld11 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 11",
> RTheld12 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 12",
> RTheld13 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 13",
> RTheld14 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 14",
> RTheld15 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 15",
> RTheld16 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 16",
> RTheld17 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 17",
> RTheld18 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 18",
> RTheld19 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 19",
> RTheld20 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 20",
> RTheld21 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 21",
> RTheld22 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 22",
> RTheld23 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 23",
> RTheld24 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 24",
> RTheld25 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 25",
> RTheld26 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 26",
> RTheld27 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 27",
> RTheld28 = "Foreperiod duration (msec) = time RT (“press”) button held down
> 28",
> RT1 = "Reaction Time (msec) time from signal to releasing “press” button
> 1",
> RT2 = "Reaction Time (msec) time from signal to releasing “press” button
> 2",
> RT3 = "Reaction Time (msec) time from signal to releasing “press” button
> 3",
> RT4 = "Reaction Time (msec) time from signal to releasing “press” button
> 4",
> RT5 = "Reaction Time (msec) time from signal to releasing “press” button
> 5",
> RT6 = "Reaction Time (msec) time from signal to releasing “press” button
> 6",
> RT7 = "Reaction Time (msec) time from signal to releasing “press” button
> 7",
> RT8 = "Reaction Time (msec) time from signal to releasing “press” button
> 8",
> RT9 = "Reaction Time (msec) time from signal to releasing “press” button
> 9",
> RT10 = "Reaction Time (msec) time from signal to releasing “press” button
> 10",
> RT11 = "Reaction Time (msec) time from signal to releasing “press” button
> 11",
> RT12 = "Reaction Time (msec) time from signal to releasing “press” button
> 12",
> RT13 = "Reaction Time (msec) time from signal to releasing “press” button
> 13",
> RT14 = "Reaction Time (msec) time from signal to releasing “press” button
> 14",
> RT15 = "Reaction Time (msec) time from signal to releasing “press” button
> 15",
> RT16 = "Reaction Time (msec) time from signal to releasing “press” button
> 16",
> RT17 = "Reaction Time (msec) time from signal to releasing “press” button
> 17",
> RT18 = "Reaction Time (msec) time from signal to releasing “press” button
> 18",
> RT19 = "Reaction Time (msec) time from signal to releasing “press” button
> 19",
> RT20 = "Reaction Time (msec) time from signal to releasing “press” button
> 20",
> RT21 = "Reaction Time (msec) time from signal to releasing “press” button
> 21",
> RT22 = "Reaction Time (msec) time from signal to releasing “press” button
> 22",
> RT23 = "Reaction Time (msec) time from signal to releasing “press” button
> 23",
> RT24 = "Reaction Time (msec) time from signal to releasing “press” button
> 24",
> RT25 = "Reaction Time (msec) time from signal to releasing “press” button
> 25",
> RT26 = "Reaction Time (msec) time from signal to releasing “press” button
> 26",
> RT27 = "Reaction Time (msec) time from signal to releasing “press” button
> 27",
> RT28 = "Reaction Time (msec) time from signal to releasing “press” button
> 28",
> Feedback1 = "Feedback (shock) 1", Feedback2 = "Feedback (shock) 2",
> Feedback3 = "Feedback (shock) 3", Feedback4 = "Feedback (shock) 4",
> Feedback5 = "Feedback (shock) 5", Feedback6 = "Feedback (shock) 6",
> Feedback7 = "Feedback (shock) 7", Feedback8 = "Feedback (shock) 8",
> Feedback9 = "Feedback (shock) 9", Feedback10 = "Feedback (shock) 10",
> Feedback11 = "Feedback (shock) 11", Feedback12 = "Feedback (shock) 12",
> Feedback13 = "Feedback (shock) 13", Feedback14 = "Feedback (shock) 14",
> Feedback15 = "Feedback (shock) 15", Feedback16 = "Feedback (shock) 16",
> Feedback17 = "Feedback (shock) 17", Feedback18 = "Feedback (shock) 18",
> Feedback19 = "Feedback (shock) 19", Feedback20 = "Feedback (shock) 20",
> Feedback21 = "Feedback (shock) 21", Feedback22 = "Feedback (shock) 22",
> Feedback23 = "Feedback (shock) 23", Feedback24 = "Feedback (shock) 24",
> Feedback25 = "Feedback (shock) 25", Feedback26 = "Feedback (shock) 26",
> Feedback27 = "Feedback (shock) 27", Feedback28 = "Feedback (shock) 28",
> OnOff1 = "Shock on (1) or off (0) 1", OnOff2 = "Shock on (1) or off (0) 2",
> OnOff3 = "Shock on (1) or off (0) 3", OnOff4 = "Shock on (1) or off (0) 4",
> OnOff5 = "Shock on (1) or off (0) 5", OnOff6 = "Shock on (1) or off (0) 6",
> OnOff7 = "Shock on (1) or off (0) 7", OnOff8 = "Shock on (1) or off (0) 8",
> OnOff9 = "Shock on (1) or off (0) 9", OnOff10 = "Shock on (1) or off (0)
> 10",
> OnOff11 = "Shock on (1) or off (0) 11", OnOff12 = "Shock on (1) or off (0)
> 12",
> OnOff13 = "Shock on (1) or off (0) 13", OnOff14 = "Shock on (1) or off (0)
> 14",
> OnOff15 = "Shock on (1) or off (0) 15", OnOff16 = "Shock on (1) or off (0)
> 16",
> OnOff17 = "Shock on (1) or off (0) 17", OnOff18 = "Shock on (1) or off (0)
> 18",
> OnOff19 = "Shock on (1) or off (0) 19", OnOff20 = "Shock on (1) or off (0)
> 20",
> OnOff21 = "Shock on (1) or off (0) 21", OnOff22 = "Shock on (1) or off (0)
> 22",
> OnOff23 = "Shock on (1) or off (0) 23", OnOff24 = "Shock on (1) or off (0)
> 24",
> OnOff25 = "Shock on (1) or off (0) 25", OnOff26 = "Shock on (1) or off (0)
> 26",
> OnOff27 = "Shock on (1) or off (0) 27", OnOff28 = "Shock on (1) or off (0)
> 28"
> ), codepage = 65001L)
>
> --
> Edward H Patzelt, PhD
> Postdoctoral Fellow | Chicago DBT Institute <https://www.cdbti.com>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list