Contains statistical functions (for patient assessment, data preprocessing and reporting, ...) and datasets useful in psychology, neuropsychology and neuroscience.
An R Toolbox for Psychologists, Neuropsychologists and Neuroscientists.
| Name | neuropsychology |
|---|---|
| Stable Version | |
| Latest Version | |
| Documentation | |
| Downloads | |
| Authors |
0.3.0) From CRAN, run the following commands in your R console:install.packages("neuropsychology")
library("neuropsychology")
0.5.0), run the following:install.packages("devtools")
library("devtools")
install_github("neuropsychology/neuropsychology.R")
library("neuropsychology")
If it doesn't work, try updating R. If the problem persists, create an issue.
A wordcloud containing the most reccurent words of one or several papers. First, create a folder with several PDFs (journal articles for example, but you can also use your own specific word list). Add an R script in it and run one of the following:
braincloud()
braincloud(image="brain1", text.size=0.6, colours.replicate=FALSE)
Note: these brainclouds are based on the work of Dr. Robin Carhart-Harris.
Your patient has an IQ of 78. What does it mean? You'd like to insert a plot in your report? Use the assess() fucntion, that compares your patient's score with the mean and standard deviation of your test (for the IQ, 100 and 15, respecetively).
assess(score=78, mean=100, sd=15)


cortable(personality)
write.csv(cortable(personality), "mytable.csv") # Save the table
ggsave("corplot.png", cortable(personality)) # Save the plot
This function will automatically select the numeric columns of your dataframe and show a correlation table with significance stars.
You can adjust the p value by applying different corrections or change the type of correlation type (Spearman's, Pearson's or partial correlations). You can also view the result in RStudio or save it as a .csv file to open it in excel. Run ?cortable for documentation.
Run the following commands to see the proper citation entry in APA6 or Bibtex format:
library("neuropsychology")
citation("neuropsychology")
Note: The authors do not give any warranty. If this software causes your keyboard to blow up, your brain to liquefy, your toilet to clog or a zombie plague to leak, the authors CANNOT IN ANY WAY be held responsible.