Learn R Programming

Efficient and Publishing-Oriented Workflow for Psychological Science

psycho

Namepsycho
Stable
Documentation
Blog
Examples
Questions
Authors
Reference

:warning: NOTE: This package is being deprecated in favour of the report package. Please check it out and ask for any missing features.


Goal

The main goal of the psycho package is to provide tools for psychologists, neuropsychologists and neuroscientists, to facilitate and speed up the time spent on data analysis. It aims at supporting best practices by providing tools to format the output of statistical methods to directly paste them into a manuscript, ensuring standardization of statistical reporting.

Contribute

psycho is a young package in need of affection. You can easily hop aboard the development of this open-source software and improve psychological science:

  • Need some help? Found a bug? Request a new feature? Just open an issue :relaxed:
  • Want to add a feature? Correct a bug? You're more than welcome to contribute!

Don't be shy, try to code and submit a pull request (PR). Even if unperfect, we will help you to make a great PR! All contributors will be very graciously rewarded. Someday.

Examples

Check examples in the following vignettes:

Or blog posts:

General Workflow

The package revolves around the psychobject. Main functions from the package return this type, and the analyze() function transforms other R objects into psychobjects. Four functions can then be applied on a psychobject: summary(), print(), plot() and values().

Installation

  • To get the stable version from CRAN, run the following commands in your R console:
install.packages("psycho")
library("psycho")
  • To get the latest development version, run the following:
install.packages("devtools")
library("devtools")
install_github("neuropsychology/psycho.R")
library("psycho")

Credits

You can cite the package as following:

  • Makowski, (2018). The psycho Package: an Efficient and Publishing-Oriented Workflow for Psychological Science. Journal of Open Source Software, 3(22), 470. https://doi.org/10.21105/joss.00470

Contributors

Copy Link

Version

Install

install.packages('psycho')

Monthly Downloads

854

Version

0.6.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Dominique Makowski

Last Published

March 22nd, 2026

Functions in psycho (0.6.2)

golden

Golden Ratio.
is.standardized

Check if a dataframe is standardized.
remove_empty_cols

Remove empty columns.
summary.psychobject

Print the results.
affective

Data from the Affective Style Questionnaire (ASQ - French Validation)
find_matching_string

Fuzzy string matching.
find_combinations

Generate all combinations.
crawford.test.freq

Crawford-Howell (1998) frequentist t-test for single-case analysis.
dprime

Dprime (d') and Other Signal Detection Theory indices.
crawford.test

Crawford-Garthwaite (2007) Bayesian test for single-case analysis.
find_combinations.formula

Generate all combinations of predictors of a formula.
emotion

Emotional Ratings of Pictures
mellenbergh.test

Mellenbergh & van den Brink (1998) test for pre-post comparison.
crawford_dissociation.test

Crawford-Howell (1998) modified t-test for testing difference between a patient’s performance on two tasks.
percentile

Transform z score to percentile.
assess

Compare a patient's score to a control group
is.psychobject

Creates or tests for objects of mode "psychobject".
power_analysis

Power analysis for fitted models.
print.psychobject

Print the results.
values

Extract values as list.
find_season

Find season of dates.
plot.psychobject

Plot the results.
percentile_to_z

Transform a percentile to a z score.