schoRsch: Tools for Analyzing Factorial Experiments

schoRschR Documentation

Tools for Analyzing Factorial Experiments

Description

Offers a helping hand to psychologists and other behavioral scientists who routinely deal with experimental data from factorial experiments. It includes several functions to format output from other R functions according to the style guidelines of the APA (American Psychological Association). This formatted output can be copied directly into manuscripts to facilitate data reporting. These features are backed up by a toolkit of several small helper functions, e.g., offering out-of-the-box outlier removal. The package lends its name to Georg "Schorsch" Schuessler, ingenious technician at the Department of Psychology III, University of Wuerzburg.

Details

Package: schoRsch
Type: Package
Version: 1.10
Date: 2022-11-01
License: GPL-3

This package contains the following functions:

  • anova_out: Formats the output object from ezANOVA to the APA style (requires the ez package).

  • cor_out: Formats the output object from cor.test to the APA style.

  • chi_out: Formats the output object from chisq.test to the APA style.

  • t_out: Formats the output object from t.test to the APA style.

  • outlier: Screens data for outliers, based on absolute values or z-scores. Outliers can either be marked or eliminated.

  • ntiles: Split distribution into quantiles for distribution analysis.

  • zscores: Computes z-scores of values separately for defined design cells.

  • cd: To easily change the current working directory.

  • toclipboard: Write data to clipboard (Windows only).

  • clear: Clears the whole workspace (i.e., like rm(list=ls())).

  • clear_all_but: Clears the whole workspace while keeping named variables.

Version history:

  • v1.10 | 2022-11-01 | Added clear_all_but as kindly contributed by Moritz Schaaf.

  • v1.9 | 2020-12-11 | Added argument clipwarning to toclipboard. Thanks to Moritz Schaaf for the feature request (v1.9.1 provided an instant bugfix to the new code).

  • v1.8 | 2020-09-23 | Fix for the changed behavior of factor levels for strings as introduced in R 4.0 (relevant for anova_out). Thanks to Valentin Koob for sending in the bug report.

  • v1.7 | 2019-11-12 | Bugfix for anova_out which crashed when assembling corrected degrees of freedom in certain cases after violations of sphericity. Thanks to Mirela Dubravac for sending in the bug report.

  • v1.6 | 2019-05-02 | Bugfix for cor_out which did not display negative correlations with 0 > r > -0.1 correctly. Thanks to Mario Reutter for the bug report.

  • v1.5 | 2018-12-15 | Default value for correcting effect sizes for paired-samples t-tests changed to FALSE; the use of corrections is now displayed as feedback message. Also: New options for anova_out; it is now possible to display corrected degrees of freedom for violations of the sphericity assumption and corresponding epsilon estimates. Thanks to Onur Asci for the feature request. Additional bugfix for the dfsep argument of anova_out.

  • v1.4 | 2017-02-14 | Bugfix for cor_out that no longer displays leading zeros for correlation coefficients; thanks to Juan Ramon Barrada for sending in the bug report.

  • v1.3 | 2016-09-13 | Overall documentation update based on comments from Vincent LeBlanc.

  • v1.2 | 2015-07-05 | Bugfix for the print option of anova_out; thanks to Sylvain Clement for sending in the bug report. Minor code changes.

  • v1.1 | 2014-07-30 | New functions chi_out (contributed by Daniel Gromer) and toclipboard; bugfixes when anova_out is called without detailed=TRUE. Updated help files.

  • v1.0 | 2013-03-20 | Package release.

Author(s)

Roland Pfister <mail(at)roland-pfister.net>, Markus Janczyk;

References

Pfister, R., & Janczyk, M. (2016). schoRsch: An R package for analyzing and reporting factorial experiments. The Quantitative Methods for Psychology, 12(2), 147-151. doi: 10.20982/tqmp.12.2.p147


schoRsch documentation built on Nov. 2, 2022, 1:06 a.m.

Related to schoRsch in schoRsch...