{"id":235,"date":"2025-11-02T12:34:07","date_gmt":"2025-11-02T12:34:07","guid":{"rendered":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria1\/?p=235"},"modified":"2025-11-03T09:32:59","modified_gmt":"2025-11-03T09:32:59","slug":"r-package","status":"publish","type":"post","link":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/r-package\/","title":{"rendered":"R Package"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Prepdat: an R Package for Preparing Data for Experimental&nbsp;Analysis<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Overview<\/h5>\n\n\n\n<p>prepdat is an R package that integrates raw data files collected from individual participants (usually from a psychological experiment), enabling the user to go from raw data files, in which each line corresponds to one trial conducted during the experiment, to one finalized table ready for statistical analysis, in which each line corresponds to the averaged performance of each participant according to specified dependent and independent variables. prepdat also includes several other possibilities for the aggregated values such as medians of the dependent variable and trimming procedures for reaction-times according to Van Selst &amp; Jolicoeur (1994).<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Installation<\/h5>\n\n\n\n<p>A stable release of&nbsp;<em>prepdat<\/em>&nbsp;is now available on CRAN&nbsp;<a href=\"https:\/\/cran.r-project.org\/package=prepdat\">https:\/\/cran.r-<\/a><a href=\"https:\/\/cran.r-project.org\/package=prepdat\" target=\"_blank\" rel=\"noreferrer noopener\">project<\/a><a href=\"https:\/\/cran.r-project.org\/package=prepdat\">.org\/package=prepdat<\/a>. To install&nbsp;<em>prepdat<\/em>&nbsp;use:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">install.packages(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#183699\" class=\"has-inline-color\">\"prepdat\"<\/mark>)<\/pre>\n\n\n\n<p>To install the latest version of&nbsp;<em>prepdat<\/em>&nbsp;(i.e., the development version of next release), install devtools, and then install directly from GitHub by using:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># install devtools<\/mark><br>install.packages(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#183699\" class=\"has-inline-color\">\"devtools\"<\/mark>)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># install prepdat from GitHub<\/mark><br>devtools::install_github(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#183699\" class=\"has-inline-color\">\"ayalaallon\/prepdat\"<\/mark>)`<\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Using prepdat<\/h5>\n\n\n\n<p>The two major functions you need to know in order to use&nbsp;<em>prepdat<\/em>&nbsp;are file_merge() and prep().<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">file_merge()<\/h5>\n\n\n\n<p>The file_merge() function concatenates raw data files of individual participants (in which each line corresponds to a single trial in the experiment) to one raw data file that includes all participants. In order for the function to work, all raw data files you wish to merge should be put in one folder containing nothing but the raw data files. In addition, the working directory should be set to that folder. All raw data files should be in the same format (either txt or csv).<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">prep()<\/h5>\n\n\n\n<p>After you merged the raw data files using file_merge(), or any other function (for example using Eprime mergedat), you are ready to continue implementing&nbsp;<em>prepdat<\/em>&nbsp;by using the prep() function, which is the main function of&nbsp;<em>prepdat<\/em>.<br>prep() takes the raw data table created in file_merge() (or by other functions) and creates one finalized table ready for statistical analysis. The finalized table contains for each participant the averaged or aggregated values (e.g., medians) of several possible dependent variables (e.g., reaction-time and accuracy) according to specified independent variables, which can be any combination of within-subject (a.k.a repeated measures) and between-subject independent variables. The possibilities for dependent measures include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mdvc: Mean of the dependent variable.<\/li>\n\n\n\n<li>sdvc: Standard deviation of the dependent variable.<\/li>\n\n\n\n<li>meddvc: Median of the dependent variable.<\/li>\n\n\n\n<li>tdvc: Mean\/s of the dependent variable after rejecting observations above standard deviation criterion\/s you specify.<\/li>\n\n\n\n<li>ntr: Number of observations of the dependent variable that were rejected for each standard deviation criterion\/s.<\/li>\n\n\n\n<li>ndvc: Number of observations of the dependent variable before rejection.<\/li>\n\n\n\n<li>ptr: Proportion of observations of the dependent variable that were rejected for each standard deviation criterion\/s.<\/li>\n\n\n\n<li>rminv: Harmonic mean of the dependent variable.<\/li>\n\n\n\n<li>prt: Percentiles of the dependent variable according to any percentile (default is 0.05, 0.25, 0.75, 0.95).<\/li>\n\n\n\n<li>mdvd: Mean of a second dependent variable (e.g., accuracy).<\/li>\n\n\n\n<li>merr: error rate (i.e., suitable when the second dependnet variable is accuracy).<\/li>\n\n\n\n<li>nrmc: Mean according to non-recursive procedure with moving criterion (Van Selst &amp; Jolicoeur, 1994).<\/li>\n\n\n\n<li>nnrmc: Number of observations of the dependent variable that were rejected for the non-recursive procedure.<\/li>\n\n\n\n<li>pnrmc: Proportion of observations of the dependent variable that were rejected for the non-recursive procedure.<\/li>\n\n\n\n<li>tnrmc: Total number of observations upon which the non-recursive procedure was applied.<\/li>\n\n\n\n<li>mrmc: Mean according to modified-recursive procedure with moving criterion (Van Selst &amp; Jolicoeur, 1994).<\/li>\n\n\n\n<li>nmrmc: Number of observations of the dependent variable that were rejected for the modified-recursive procedure.<\/li>\n\n\n\n<li>pmrmc: Proportion of observations of the dependent variable that were rejected for the modified-recursive procedure.<\/li>\n\n\n\n<li>tmrmc: Total number of observations upon which the modified-recursive procedure was applied.<\/li>\n\n\n\n<li>hrmc: Mean according to hybrid-recursive procedure with moving criterion (Van Selst &amp; Jolicoeur, 1994).<\/li>\n\n\n\n<li>nhrmc: Number of observations of the dependent variable that were rejected for the hybrid-recursive procedure.<\/li>\n\n\n\n<li>thrmc: Total number of observations upon which the hybrid-recursive procedure was applied.<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">Example<\/h5>\n\n\n\n<p>In the example below, we use prep() to go from one table containing data (after already merging the individuals raw data files) from 15 participants (5400 trials in total) to a finalized table showing all the possibilities for the dependent variable (e.g., means and medians) for each participant according to specified within-subject and between-subject independent variables, including the modified recursive procedure of Van Selst &amp; Jolicoeur (1994).<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:12px\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Load prepdat <\/mark><br>library(prepdat)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:12px\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Load the example data that comes with prepdat<br><\/mark>data(stroopdata)<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:12px\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># To get an overview of the example data <br><\/mark>?stroopdata<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:12px\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Look at the first few lines of the example data<br><\/mark>head(stroopdata)<br> subject block age gender order font_size trial_num target_type   rt ac<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">1    5020     1  24       2&nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp; &nbsp; &nbsp;12 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;1  &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;1 677  1<br>2    5020     1  24       2&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;12 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;2  &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;1 538  1<br>3    5020     1  24       2&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;12 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;3  &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;1 507  1<br>4    5020     1  24       2&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;12 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;4  &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;1 2818 1<br>5    5020     1  24       2&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;12 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;5  &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;1 582  1<br>6    5020     1  24       2&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;12 &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;6  &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;1 498  1<\/mark><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:12px\"><br><br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Perform prep<br><\/mark>finalized_data &lt;- prep(<br>      dataset = stroopdata <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Name of the merged raw data table in case you already loaded it into R.<\/mark><br>      , file_name = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">NULL <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Name of the file that contains the raw data after merging the individual<br>                         # raw data files.<\/mark><br>      , id = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"subject\"<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Name of the column that contains the variable specifying the case identifier.<\/mark><br>      , within_vars = c(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"block\"<\/mark>, <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"target_type\"<\/mark>) <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Name of column or columns that contain independent<\/mark><br>                                              <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\">  # within-subject variables.<\/mark><br>      , between_vars = c(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"order\"<\/mark>)<mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"> # Name of column or columns that contain independent between-subject<br>                                  # variables.<\/mark><br>      , dvc = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"rt\"<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Name of the column that contains the continuous dependent variable (e.g.,<br>                   # reaction-time). <\/mark><br>      , dvd = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"ac\"<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Name of the column that contains the discrete dependent variable (e.g., 0<br>                   # and 1 for accuracy measures).<\/mark><br>      , keep_trials = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">NULL<\/mark><br>      , drop_vars = c()<br>      , keep_trials_dvc = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"raw_data$rt &gt; 100 &amp; raw_data$rt &lt; 3000 &amp; raw_data$ac == 1\"<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"> # Keep for<br>                          # dvc only<br>                          # trials that<br>                          # meet these<br>                          # conditions. <\/mark><br>&nbsp; &nbsp; &nbsp;&nbsp;, keep_trials_dvd = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"raw_data$rt &gt; 100 &amp; raw_data$rt &lt; 3000\" <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Keep for dvd only trials that<br>       # meet these conditions.<\/mark><br>      , id_properties = c()<br>      , sd_criterion = c(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">1, 1.5, 2)<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Criterions to reject all observations above standard deviations<br>                                    # specified here and then calculate means.<\/mark><br>      , percentiles = c(<mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">0.05, 0.25, 0.75, 0.95<\/mark>) <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Percentiles of dvc (any percentile is possible).<\/mark><br>      , outlier_removal = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">2<\/mark> #<mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"> Perform modified recursive procedure with moving criterion.<\/mark><br>      , keep_trials_outlier = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"raw_data$ac == 1\"<\/mark> #<mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"> Keep for outlier removal procedure only trials<br>                                                 # that meet this condition.<\/mark><br>      , decimal_places =<mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\"> 4<\/mark><br>      , notification = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">TRUE<\/mark><br>      , dm = c() <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># See ?prep for more details on this argument.<\/mark><br>      , save_results = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">TRUE <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Create a txt file containing the finalized table.<\/mark><br>      , results_name = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#183691\" class=\"has-inline-color\">\"results.txt\"<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Name of the file that contains the finalized table.<\/mark><br>      , save_summary = <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">TRUE <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Save a summary txt file with the important parameters of prep().<\/mark><br> )<br><br><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">References<\/h5>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:12px\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#969896\" class=\"has-inline-color\"># Look at finalized_data:<br># The hierarchical order for within_vars was first \"block\" (which has two levels- \"1\" and \"2\", and then<br># \"target_type\" (which also has two levels- \"1\" and \"2\"). This means that for each of the dependent<br># measures we will get four columns. For example mdvc1 is the mean for \"block\" 1 and \"target_type\" 2,<br># mdvc2 is the mean for \"block\" 2 and \"target_type\" 1 etc.<\/mark><br>head(finalized_data)<br>     subject order    mdvc1    mdvc2    mdvc3    mdvc4    sdvc1    sdvc2    sdvc3<br> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">5013   5013    2 863.1736 1038.4444 1081.0000 1103.1189 328.2833 214.1703 417.1448<br> 5020\u00a0 \u00a05020\u00a0 \u00a0\u00a01 706.8741  781.1429 636.8056  712.9437  410.1729 361.9275 304.8082<br> 5021\u00a0 \u00a05021\u00a0 \u00a0\u00a02 655.0280  742.0294 558.8611  652.5714  161.7873 170.3273 120.8668<br> 5022\u00a0 \u00a05022\u00a0 \u00a0\u00a01 604.4266  725.2941 580.1944  650.1250  107.9061 153.0384 127.7895<br> 5023\u00a0 \u00a05023\u00a0 \u00a0\u00a02 747.0979  827.4706 908.6571  962.7183  265.1188 200.0777 347.3918<br> 5024\u00a0 \u00a05024\u00a0 \u00a0\u00a01 615.9722  793.1714 667.2778  764.1259  124.6003 156.6617 182.2824<\/mark><br>         sdvc4 meddvc1 meddvc2 meddvc3 meddvc4   t1dvc1    t1dvc2    t1dvc3    t1dvc4<br> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">5013 321.4880   758.5  1036.5  1014.0  1037.0 776.8220 1046.7037 1033.0333 1065.1316<br> 5020 328.2770   586.0   701.0   540.0   629.5 595.3409  699.3636  566.5000  628.3538<br> 5021 144.2790   633.0   780.0   540.5   629.5 631.6408  760.3636  535.5172  625.0849<br> 5022 135.0557   594.0   681.5   565.0   635.0 589.2881  691.9565  573.2903  638.7900<br> 5023 243.0594   726.0   834.0   821.0   900.5 724.3952  824.6087  857.9655  923.2973<br> 5024 180.0681   600.0   781.0   629.0   719.0 591.3860  775.7308  618.9677  734.5574<\/mark><br> \u00a0 \u00a0 \u00a0t1.5dvc1  t1.5dvc2  t1.5dvc3  t1.5dvc4   t2dvc1   t2dvc2   t2dvc3   t2dvc4<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\"> 5013 790.0763 1012.8387 1037.0000 1053.9538 809.4818 1005.5000 1001.1176 1067.4148<br> 5020 595.3409  699.3636  566.5000  626.4351 595.3409  699.3636  566.5000  631.6818<br> 5021 629.5040  748.2069  558.3030  619.6953 635.9926  731.6667  564.0882  630.3759<br> 5022 599.3893  697.6296  569.4706  626.8425 602.2774  725.2941  562.9143  637.9854<br> 5023 718.3630  851.2143  842.6970  914.1520 709.2174  827.2188  864.4118  933.3881<br> 5024 584.9612  755.8750  618.9677  744.6397 590.5597  755.8750  634.5882  750.9568<\/mark><br>\u00a0 \u00a0 \u00a0\u00a0n1tr1 n1tr2 n1tr3 n1tr4 n1.5tr1 n1.5tr2 n1.5tr3 n1.5tr4 n2tr1 n2tr2 n2tr3 n2tr4<br> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">5013\u00a0 \u00a0\u00a026     9     6    29      13      5 \u00a0  \u00a0\u00a04 \u00a0  \u00a0\u00a013 \u00a0  \u00a0\u00a07 \u00a0  \u00a0\u00a02 \u00a0  \u00a02 \u00a0 \u00a0\u00a08<br> 5020    11     2     2    12      11      2 \u00a0  \u00a0\u00a02 \u00a0  \u00a0\u00a011\u00a0  \u00a0 11 \u00a0  \u00a0\u00a02 \u00a0 \u00a0\u00a02 \u00a0 \u00a010<br> 5021    40    12     7    34      18 \u00a0 \u00a0 \u00a05 \u00a0  \u00a0\u00a03 \u00a0  \u00a0\u00a012 \u00a0  \u00a0\u00a08  \u00a0 \u00a0\u00a01 \u00a0 \u00a0\u00a02 \u00a0 \u00a0\u00a07<br> 5022    25    11     5    44      12 \u00a0  \u00a0\u00a07 \u00a0 \u00a0 \u00a02 \u00a0  \u00a0\u00a017 \u00a0  \u00a0\u00a06 \u00a0  \u00a0\u00a00 \u00a0 \u00a0\u00a01 \u00a0 \u00a0\u00a07<br> 5023    19    11     6    31       8 \u00a0  \u00a0\u00a06 \u00a0  \u00a0\u00a02 \u00a0  \u00a0\u00a017 \u00a0  \u00a0\u00a05 \u00a0  \u00a0\u00a02 \u00a0 \u00a0\u00a01 \u00a0  \u00a08<br> 5024    30     9     5    21      15 \u00a0  \u00a0\u00a03 \u00a0  \u00a0\u00a05 \u00a0  \u00a0\u00a0 7  \u00a0 \u00a010\u00a0  \u00a0\u00a0 3\u00a0  \u00a0 2 \u00a0 \u00a0\u00a04<\/mark><br>\u00a0 \u00a0 \u00a0\u00a0ndvc1 ndvc2 ndvc3 ndvc4  p1tr1  p1tr2  p1tr3  p1tr4 p1.5tr1 p1.5tr2 p1.5tr3<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\"> 5013   144    36    36   143 0.1806 0.2500 0.1667 0.2028  0.0903  0.1389  0.1111<br> 5020   143    35    36   142 0.0769 0.0571 0.0556 0.0845  0.0769  0.0571  0.0556<br> 5021   143    34    36   140 0.2797 0.3529 0.1944 0.2429  0.1259  0.1471  0.0833<br> 5022   143    34    36   144 0.1748 0.3235 0.1389 0.3056  0.0839  0.2059  0.0556<br> 5023   143    34    35   142 0.1329 0.3235 0.1714 0.2183  0.0559  0.1765  0.0571<br> 5024   144    35    36   143 0.2083 0.2571 0.1389 0.1469  0.1042  0.0857  0.1389<\/mark><br>\u00a0 \u00a0 \u00a0\u00a0p1.5tr4  p2tr1  p2tr2  p2tr3  p2tr4   rminv1   rminv2   rminv3    rminv4<br> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">5013  0.0909 0.0486 0.0556 0.0556 0.0559 777.4543 997.0999 951.4738 1019.3421<br> 5020  0.0775 0.0769 0.0571 0.0556 0.0704 612.0752 709.9542 575.2651  647.6535<br> 5021  0.0857 0.0559 0.0294 0.0556 0.0500 617.4345 700.6980 501.4269  626.3859<br> 5022  0.1181 0.0420 0.0000 0.0278 0.0486 585.7888 693.8455 559.1845  622.7780<br> 5023  0.1197 0.0350 0.0588 0.0286 0.0563 684.5878 772.5444 822.9681  908.1756<br> 5024  0.0490 0.0694 0.0857 0.0556 0.0280 595.9175 767.3401 629.8362  732.2745<\/mark><br>      p0.05dvc1 p0.05dvc2 p0.05dvc3 p0.05dvc4 p0.25dvc1 p0.25dvc2 p0.25dvc3 p0.25dvc4<br> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">5013    538.65    744.25    575.00    704.20     666.0    889.75    858.00    910.00<br> 5020    474.00    532.10    453.50    506.35     515.0    639.00    508.25    575.00<br> 5021    447.00    485.00    456.75    483.90     552.5    594.75    502.00    549.50<br> 5022    497.50    506.55    436.75    461.45     548.5    607.75    528.00    563.75<br> 5023    433.10    482.00    549.40    668.40     641.0    722.25    705.50    793.75<br> 5024    484.15    594.90    495.75    585.20     536.0    703.50    556.00    658.00<\/mark><br>      p0.75dvc1 p0.75dvc2 p0.75dvc3 p0.75dvc4 p0.95dvc1 p0.95dvc2 p0.95dvc3 p0.95dvc4<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\"> 5013    958.00   1150.50   1181.75   1245.00   1462.55   1439.50   1779.75   1648.90<br> 5020    684.50    764.00   624.75     701.75   1857.10   1198.10   1035.00   1568.25<br> 5021    735.00    866.50   606.75     699.25    958.70    990.05    743.75    941.20<br> 5022    650.50    833.75   610.00     734.25    744.80    971.05    706.75    888.25<br> 5023    820.00    953.00  1027.00    1095.75   1034.80   1139.70   1405.30   1439.15<br> 5024    659.75    832.50   695.50     837.50    887.20   1120.20   1062.75   1026.80<\/mark><br>       mdvd1  mdvd2 mdvd3  mdvd4  merr1  merr2 merr3  merr4    mrmc1     mrmc2<br> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">5013 1.0000 1.0000     1 0.9931 0.0000 0.0000     0 0.0069 809.4818 1038.4444<br> 5020 1.0000 0.9722     1 0.9861 0.0000 0.0278     0 0.0139 589.3846  699.3636<br> 5021 1.0000 0.9444     1 0.9722 0.0000 0.0556     0 0.0278 655.0280  742.0294<br> 5022 0.9931 0.9444     1 1.0000 0.0069 0.0556     0 0.0000 603.9929  725.2941<br> 5023 1.0000 0.9444     1 0.9861 0.0000 0.0556     0 0.0139 709.2174  827.4706<br> 5024 1.0000 0.9722     1 1.0000 0.0000 0.0278     0 0.0000 608.5211  777.3529<\/mark><br>          mrmc3     mrmc4 pmrmc1 pmrmc2 pmrmc3 pmrmc4 nmrmc1 nmrmc2 nmrmc3 nmrmc4<br> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\">5013 1001.1176 1057.5985 4.8611 0.0000 5.5556 4.1958      7      0      2      6<br> 5020  566.5000  626.4351 9.7222 5.7143 5.5556 7.7465     14      2      2     11<br> 5021  571.6571  641.5036 0.0000 0.0000 2.7778 2.1429      0      0      1      3<br> 5022  562.9143  650.1250 2.0979 0.0000 2.7778 0.0000      3      0      1      0<br> 5023  842.6970  955.3121 4.1667 0.0000 8.3333 0.7042      6      0      3      1<br> 5024  611.3438  751.0071 1.3889 2.8571 11.1111 2.0833     2      1      4      3<\/mark><br>   tmrmc1 tmrmc2 tmrmc3 tmrmc4<br><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086b3\" class=\"has-inline-color\"> 5013 144     36     36    143<br> 5020 144     35     36    142<br> 5021 143     34     36    140<br> 5022 143     34     36    144<br> 5023 144     34     36    142<br> 5024 144     35     36    144<\/mark><\/pre>\n\n\n\n<p>Grange, J.A. (2015). trimr: An implementation of common response time trimming methods. R Package Version 1.0.1. <a href=\"https:\/\/cran.r-project.org\/package=trimr\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/cran.r-project.org\/package=trimr<\/a><br>Selst, M. V., &amp; Jolicoeur, P. (1994). A solution to the effect of sample size on outlier elimination. <em>The quarterly journal of experimental psychology<\/em>, 47 (3), 631-650.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prepdat: an R Package for Preparing Data for Experimental&nbsp;Analysis Overview prepdat is an R package that integrates raw data files collected from individual participants (usually from a psychological experiment), enabling the user to go from raw data files, in which each line corresponds to one trial conducted during the experiment, to one finalized table ready &hellip; <a href=\"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/r-package\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;R Package&#8221;<\/span><\/a><\/p>\n","protected":false},"author":171,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/users\/171"}],"replies":[{"embeddable":true,"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":18,"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":466,"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/posts\/235\/revisions\/466"}],"wp:attachment":[{"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.socsci.tau.ac.il\/mu\/royluria\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}