psycho for R"


Overview

library(knitr)

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

knitr::include_graphics("images/workflow.PNG")

Installation

Install R and R Studio

Install the psycho package

If you've never used psycho, enter one of the following in the console and press enter:

# This for the stable version:
install.packages("psycho")

# Or this for the dev version:
install.packages("devtools")
library(devtools)
devtools::install_github("neuropsychology/psycho.R")

In case of error: Sometimes the installation fails, and you might find in the red output the following lines:

there is no package called ‘**thenameofapackage**’
ERROR: lazy loading failed for package ‘psycho’

Try installing the missing packages (install.packages("thenameofapackage")) and then, install psycho again (sometimes this can be done several times).

Anyway, once you have psycho, just put this at the beginning of every script:

library(psycho)

Guides

Examples

Credits

This package helped you? Don't forget to cite the various packages you used :)

You can cite psycho as follows:

Contribution

Improve this vignette by modifying this file!



Try the psycho package in your browser

Any scripts or data that you put into this service are public.

psycho documentation built on Jan. 19, 2021, 9:07 a.m.