- Author: Guillaume T. Vallet, gtvallet@gmail.com, Université de Montréal, CRIUGM
- Version: 0.1
- Date: 2014/05/08
Statxp is R package developed for a personal use to improve some experimental analysis processing. Statxp offers a set of functions to clean data, export and format results into a knitr/sweave document.
The detailed description of the functions as well as examples are provided in the R documentation.
Type ?*function_name*
in your R console to access it.
This package is released under the Creative Common Attribution-NonCommercial-ShareAlike 4.0 International license.
Predata depends on the dplyr
package.
You can install dplyr by typing install.packages('dplyr')
in your R console.
To install a R package from Github, you first need to install the devtools package.
In R, type install.packages('devtools')
.
Then install statxp with the following command : install_github('Cogitos/statxp')
.
And now enjoy the package!
These two functions are designed to filter reaction times (or other dependent variables) by thresholds (minimum and/or maximum values) and/or standard deviations from the mean. These functions return the cleaned data frame as well as how many data were exclude by kind of filter.
The difference between filtRT and outliers is that filtRT uses outliers to filter the data base on different conditions (e.g. by subject and independent variables).
These functions allow to easily format for knitr/sweave results from an ANOVA (faov, computed with the ez package), a t test of Student (ftt) and simple a mean with its related standard deviation (fmsd).
The formatting is done according to the APA guidelines. Different options allow to add thed of Cohen, change the format, etc.
This function was designed to easily export an ANOVA result (from the ez package) into a csv file. The options allow to add descriptive statistics and/or posthoc analysis.
This function return a ggplot graphic which better suits for publication with a white theme, bigger fonts, and a choice of brewer color set.