Prepares data for statistical analysis (e.g., analysis of variance ;ANOVA) by enabling the user to easily and quickly merge (using the file_merge() function) raw data files into one merged table and then aggregate the merged table (using the prep() function) into a finalized table while keeping track and summarizing every step of the preparation. The finalized table contains several possibilities for dependent measures of the dependent variable. Most suitable when measuring variables in an interval or ratio scale (e.g., reaction-times) and/or discrete values such as accuracy. Main functions included are file_merge() and prep(). The file_merge() function vertically merges individual data files (in a long format) in which each line is a single observation to one single dataset. The prep() function aggregates the single dataset according to any combination of grouping variables (i.e., between-subjects and within-subjects independent variables, respectively), and returns a data frame with a number of dependent measures for further analysis for each cell according to the combination of provided grouping variables. Dependent measures for each cell include among others means before and after rejecting all values according to a flexible standard deviation criteria, number of rejected values according to the flexible standard deviation criteria, proportions of rejected values according to the flexible standard deviation criteria, number of values before rejection, means after rejecting values according to procedures described in Van Selst & Jolicoeur (1994; suitable when measuring reaction-times), standard deviations, medians, means according to any percentile (e.g., 0.05, 0.25, 0.75, 0.95) and harmonic means. The data frame prep() returns can also be exported as a txt file to be used for statistical analysis in other statistical programs.

Author | Ayala S. Allon [aut, cre], Roy Luria [aut], James Grange [ctb], Nachshon Meiran [ctb] |

Date of publication | 2016-09-23 11:22:48 |

Maintainer | Ayala S. Allon <ayalaallon@gmail.com> |

License | GPL-3 |

Version | 1.0.8 |

http://github.com/ayalaallon/prepdat |

**file_merge:** Vertically Merge Files in a Directory into a Single Large...

**finalized_stroopdata:** Finalized Table 'prepdat::prep()' returns for 'stroopdata'...

**hybrid_recursive_mc:** Hybrid-recursive Outlier Removal Procedure with Moving...

**modified_recursive_mc:** Modified-recursive Outlier Removal Procedure with Moving...

**non_recursive_mc:** Non-recursive Outlier Removal Procedure with Moving Criterion

**prep:** Creates One Finalized Table Ready for Statistical Analysis

**read_data:** Reads a File in a txt or csv Format that Contains a Table and...

**stroopdata:** Reaction-times and accuracy for color naming in a Stroop task...

prepdat

prepdat/tests

prepdat/tests/testthat.R

prepdat/tests/testthat

prepdat/tests/testthat/test_prep.R

prepdat/NAMESPACE

prepdat/NEWS.md

prepdat/data

prepdat/data/finalized_stroopdata.rda

prepdat/data/stroopdata.rda

prepdat/R

prepdat/R/prep.R
prepdat/R/sysdata.rda

prepdat/R/modified_recursive_mc.R
prepdat/R/read_data.R
prepdat/R/non_recursive_mc.R
prepdat/R/stroopdata.R
prepdat/R/finalized_stroopdata.R
prepdat/R/file_merge.R
prepdat/R/hybrid_recursive_mc.R
prepdat/README.md

prepdat/MD5

prepdat/DESCRIPTION

prepdat/man

prepdat/man/modified_recursive_mc.Rd
prepdat/man/read_data.Rd
prepdat/man/finalized_stroopdata.Rd
prepdat/man/file_merge.Rd
prepdat/man/hybrid_recursive_mc.Rd
prepdat/man/stroopdata.Rd
prepdat/man/prep.Rd
prepdat/man/non_recursive_mc.Rd
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.