Perform Two-Way Orthogonal Partial Least Squares (OmicsPLS)
Performs the O2PLS data integration method for two datasets yielding joint and data-specific parts for each dataset. The algorithm automatically switches to a memory-efficient approach to fit O2PLS to high dimensional data. It provides a rigorous and a faster alternative cross-validation method to select the number of components, as well as functions to report proportions of explained variation and to construct plots of your results. See Trygg and Wold (2003) <doi:10.1002/cem.775> and el Bouhaddani et al (2016) <doi:10.1186/s12859-015-0854-z>.

Interactive Tutorials for R (learnr)
Create interactive tutorials using R Markdown. Use a combination of narrative, figures, videos, exercises, and quizzes to create self-paced tutorials for learning about R and R packages.

Scoring Algorithm for the Implicit Association Test (IAT) (IATScore)
This minimalist package is designed to quickly score raw data outputted from an Implicit Association Test (IAT; Greenwald, McGhee, & Schwartz, 1998) <doi:10.1037/0022-3514.74.6.1464>. IAT scores are calculated as specified by Greenwald, Nosek, and Banaji (2003) <doi:10.1037/0022-3514.85.2.197>. Outputted values can be interpreted as effect sizes. The input function consists of three arguments. First, indicate the name of the dataset to be analyzed. This is the only required input. Second, indicate the number of trials in your entire IAT (the default is set to 220, which is typical for most IATs). Last, indicate whether congruent trials (e.g., flowers and pleasant) or incongruent trials (e.g., guns and pleasant) were presented first for this participant (the default is set to congruent). The script will tell you how long it took to run the code, the effect size for the participant, and whether that participant should be excluded based on the criteria outlined by Greenwald et al. (2003). Data files should consist of six columns organized in order as follows: Block (0-6), trial (0-19 for training blocks, 0-39 for test blocks), category (dependent on your IAT), the type of item within that category (dependent on your IAT), a dummy variable indicating whether the participant was correct or incorrect on that trial (0=correct, 1=incorrect), and the participant’s reaction time (in milliseconds). Three sample datasets are included in this package (labeled ‘IAT’, ‘TooFastIAT’, and ‘BriefIAT’) to practice with.

Mocking in R (mockr)
Provides a means to mock a package function, i.e., temporarily substitute it for testing. Designed as a drop-in replacement for ‘testthat::with_mock()’, which may break in R 3.4.0 and later.

Compute High Dimensional Orthant Probabilities (anMC)
Computationally efficient method to estimate orthant probabilities of high-dimensional Gaussian vectors. Further implements a function to compute conservative estimates of excursion sets under Gaussian random field priors.

Advertisements