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

1,572

Version

0.6.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

January 19th, 2021

Functions in psycho (0.6.1)

crawford.test

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

Crawford-Howell (1998) modified t-test for testing difference between a patient<U+00E2><U+20AC><U+2122>s performance on two tasks.
find_matching_string

Fuzzy string matching.
crawford.test.freq

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

Find season of dates.
find_combinations

Generate all combinations.
emotion

Emotional Ratings of Pictures
affective

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

Dprime (d') and Other Signal Detection Theory indices.
find_combinations.formula

Generate all combinations of predictors of a formula.
power_analysis

Power analysis for fitted models.
percentile

Transform z score to percentile.
mellenbergh.test

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

Print the results.
percentile_to_z

Transform a percentile to a z score.
remove_empty_cols

Remove empty columns.
assess

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

Plot the results.
golden

Golden Ratio.
is.standardized

Check if a dataframe is standardized.
is.psychobject

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

Extract values as list.
print.psychobject

Print the results.