Package: psychTools 2.6.4

psychTools: Tools to Accompany the 'psych' Package for Psychological Research

Support functions, data sets, and vignettes for the 'psych' package. Contains several of the biggest data sets for the 'psych' package as well as four vignettes. A few helper functions for file manipulation are included as well. For more information, see the <https://personality-project.org/r/> web page.

Authors:William Revelle [aut, cre]

psychTools_2.6.4.tar.gz
psychTools_2.6.4.zip(r-4.7)psychTools_2.6.4.zip(r-4.6)psychTools_2.6.4.zip(r-4.5)
psychTools_2.6.4.tgz(r-4.6-any)psychTools_2.6.4.tgz(r-4.5-any)
psychTools_2.6.4.tar.gz(r-4.7-any)psychTools_2.6.4.tar.gz(r-4.6-any)
psychTools_2.6.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
psychTools/json (API)

# Install 'psychTools' in R:
install.packages('psychTools', repos = c('https://revelle.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • ability - 16 ability items scored as correct or incorrect.
  • ability.keys - 16 ability items scored as correct or incorrect.
  • affect - Two data sets of affect and arousal scores as a function of personality and movie conditions
  • all.income - US family income from US census 2008
  • Athenstaedt - Gender Role Self Concept data from Athenstaedt
  • Athenstaedt.dictionary - Gender Role Self Concept data from Athenstaedt
  • Athenstaedt.keys - Gender Role Self Concept data from Athenstaedt
  • bfi - 25 Personality items representing 5 factors
  • bfi.adjectives.dictionary - Dictionary for the 100 Big Five Adjectives
  • bfi.adjectives.keys - 100 adjectives describing the "big 5" for 502 subjects
  • bfi.dictionary - 25 Personality items representing 5 factors
  • bfi.keys - 25 Personality items representing 5 factors
  • big5.100.adjectives - 100 adjectives describing the "big 5" for 502 subjects
  • big5.adjectives.keys - 100 adjectives describing the "big 5" for 502 subjects
  • blant - A 29 x 29 matrix that produces weird factor analytic results
  • blot - Bond's Logical Operations Test - BLOT
  • burt - 11 emotional variables from Burt
  • cities - Distances between 11 US cities
  • city.location - Distances between 11 US cities
  • colom - Correlations of 14 ability tests from the Spanish version of the WAIS
  • colom.ed0 - Correlations of 14 ability tests from the Spanish version of the WAIS
  • colom.ed1 - Correlations of 14 ability tests from the Spanish version of the WAIS
  • colom.ed2 - Correlations of 14 ability tests from the Spanish version of the WAIS
  • colom.ed3 - Correlations of 14 ability tests from the Spanish version of the WAIS
  • cubits - Galton's example of the relationship between height and 'cubit' or forearm length
  • cushny - A data set from Cushny and Peebles
  • Damian - Project Talent data set from Marion Spengler and Rodica Damian
  • eminence - Eminence of 69 American Psychologists
  • epi - Eysenck Personality Inventory (EPI) data for 3570 participants
  • epi.bfi - 13 personality scales from the Eysenck Personality Inventory and Big 5 inventory
  • epi.dictionary - Eysenck Personality Inventory (EPI) data for 3570 participants
  • epi.keys - Eysenck Personality Inventory (EPI) data for 3570 participants
  • epiR - Eysenck Personality Inventory (EPI) data for 3570 participants
  • galton - Galton's Mid parent child height data
  • GERAS.dictionary - Data from Gruber et al, 2020, Study 2: Gender Related Attributes Survey
  • GERAS.items - Data from Gruber et al, 2020, Study 2: Gender Related Attributes Survey
  • GERAS.keys - Data from Gruber et al, 2020, Study 2: Gender Related Attributes Survey
  • GERAS.scales - Data from Gruber et al, 2020, Study 2: Gender Related Attributes Survey
  • globalWarm - 7 attitude items about Global Warming policy from Erik Nisbet
  • heights - A data.frame of the Galton (1888) height and cubit data set.
  • holzinger.dictionary - The raw and transformed data from Holzinger and Swineford, 1939
  • holzinger.raw - The raw and transformed data from Holzinger and Swineford, 1939
  • holzinger.swineford - The raw and transformed data from Holzinger and Swineford, 1939
  • income - US family income from US census 2008
  • iqitems - 16 multiple choice IQ items
  • msq - 75 mood items from the Motivational State Questionnaire for 3896 participants
  • msq.keys - 75 mood items from the Motivational State Questionnaire for 3032 unique participants
  • msqR - 75 mood items from the Motivational State Questionnaire for 3032 unique participants
  • neo - NEO correlation matrix from the NEO_PI_R manual
  • peas - Galton's Peas
  • Pollack - Pollack et al (2012) correlation matrix for mediation example
  • sai - State Anxiety data from the PMC lab over multiple occasions.
  • sai.dictionary - State Anxiety data from the PMC lab over multiple occasions.
  • salary - Salary example from Cohen, Cohen, Aiken and West
  • sat.act - 3 Measures of ability: SATV, SATQ, ACT
  • Schutz - The Schutz correlation matrix example from Shapiro and ten Berge
  • Spengler - Project Talent data set from Marion Spengler and Rodica Damian
  • Spengler.stat - Project Talent data set from Marion Spengler and Rodica Damian
  • spi - A sample from the SAPA Personality Inventory including an item dictionary and scoring keys.
  • spi.dictionary - A sample from the SAPA Personality Inventory including an item dictionary and scoring keys.
  • spi.keys - A sample from the SAPA Personality Inventory including an item dictionary and scoring keys.
  • tai - State Anxiety data from the PMC lab over multiple occasions.
  • USAF - 17 anthropometric measures from the USAF showing a general factor
  • veg - Paired comparison of preferences for 9 vegetables
  • zola - Correlation matrix of 135 self report and 30 peer report personality items
  • zola.dictionary - Correlation matrix of 135 self report and 30 peer report personality items
  • zola.keys - Correlation matrix of 135 self report and 30 peer report personality items

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

6.88 score 7 packages 251 scripts 14k downloads 1 mentions 31 exports 6 dependencies

Last updated from:7dc591f8ac. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK129
source / vignettesOK407
linux-release-x86_64OK131
macos-release-arm64OK127
macos-oldrel-arm64OK207
windows-develOK94
windows-releaseOK123
windows-oldrelOK97
wasm-releaseOK97

Exports:combineMatricescor2latexdf2latexdfOrderfa2latexfileCreatefileScanfilesInfofilesListhareICC2latexirt2latexomega2latexrd2htmlread.clipboardread.clipboard.csvread.clipboard.fwfread.clipboard.lowerread.clipboard.tabread.clipboard.upperread.fileread.file.csvread.httpsrearrangerecodeselectBysplitByvJoinwide2longwrite.filewrite.file.csv

Dependencies:foreignGPArotationlatticemnormtnlmepsych

How to find Omega
Overview of this and related documents | Reading in the data for analysis | Some simple descriptive statistics before you start | Using the omega function to find the statistics | Simulating a hierarchical/higher order structure | Summary | System Info

Last update: 2026-05-05
Started: 2021-03-28

Introduction to the psych package
Installing R for the first time | Jump starting the psych package–a guide for the impatient | Psychometric functions are summarized in the second vignette | Overview of this and related documents | Getting started | Basic data analysis | Multilevel modeling | Multiple Regression, mediation, moderation, and set correlations | Converting output to APA style tables using LaTeX | Miscellaneous functions | Data sets | Development version and a users guide | Psychometric Theory | SessionInfo

Last update: 2026-05-05
Started: 2024-01-16

Overview of the psych package for mediation
Overview of this and related documents | Multiple regression and mediation | Regression using lmCor | Mediation using the mediate function | Mediation and moderation | Partial Correlations | Related packages | Development version and a users guide | Psychometric Theory | SessionInfo

Last update: 2026-05-05
Started: 2021-03-28

Overview of the psych package for psychometrics
Jump starting the psych package–a guide for the impatient | Psychometric functions are summarized in this vignette | Overview of this and related documents | Getting started | Basic data analysis | Item and scale analysis | Classical Test Theory and Reliability | Item Response Theory analysis | Multilevel modeling | Set Correlation and Multiple Regression from the correlation matrix | Simulation functions | Graphical Displays | Converting output to APA style tables using LaTeX | Miscellaneous functions | Data sets | Development version and a users guide | Psychometric Theory | SessionInfo

Last update: 2026-05-05
Started: 2019-05-29

Using the psych package for factor analysis
Overview of this and related documents | Overview of this and related documents | Getting started | Basic data analysis | Item and scale analysis | Classical Test Theory and Reliability | Item Response Theory analysis | Multilevel modeling | Set Correlation and Multiple Regression from the correlation matrix | Simulation functions | Graphical Displays | Miscellaneous functions | Data sets | Development version and a users guide | Psychometric Theory | SessionInfo

Last update: 2026-05-05
Started: 2020-01-08

Readme and manuals

Help Manual

Help pageTopics
16 ability items scored as correct or incorrect.ability ability.keys
Two data sets of affect and arousal scores as a function of personality and movie conditionsaffect flat maps
Gender Role Self Concept data from Athenstaedt (2003)Athenstaedt Athenstaedt.dictionary Athenstaedt.keys
25 Personality items representing 5 factorsbfi bfi.dictionary bfi.keys
Dictionary for the 100 Big Five AdjectivesBFI.adjectives.dictionary bfi.adjectives.dictionary big5.adjectives.dictionary
100 adjectives describing the "big 5" for 502 subjectsbfi.adjectives bfi.adjectives.keys big5.100.adjectives big5.adjectives.keys
A 29 x 29 matrix that produces weird factor analytic resultsblant
Bond's Logical Operations Test - BLOTblot
11 emotional variables from Burt (1915)burt
Distances between 11 US citiescities city.location
Correlations of 14 ability tests from the Spanish version of the WAIS (taken from Colom et al. 2002.)colom colom.ed0 colom.ed1 colom.ed2 colom.ed3
Galton's example of the relationship between height and 'cubit' or forearm lengthcubits
A data set from Cushny and Peebles (1905) on the effect of three drugs on hours of sleep, used by Student (1908)cushny
Convert a data frame, correlation matrix, or factor analysis output to a LaTeX or rtf tablecor2latex df2latex fa2latex ICC2latex irt2latex omega2latex
Sort (order) a dataframe or matrix by multiple columnsdfOrder
Eminence of 69 American Psychologistseminence
Eysenck Personality Inventory (EPI) data for 3570 participantsepi epi.dictionary epi.keys epiR
13 personality scales from the Eysenck Personality Inventory and Big 5 inventoryepi.bfi
Galton's Mid parent child height datagalton
Data from Gruber et al, 2020, Study 2: Gender Related Attributes SurveyGERAS GERAS.dictionary GERAS.items GERAS.keys GERAS.scales
7 attitude items about Global Warming policy from Erik Nisbetglbwarm globalWarm
Counting Hare votes (Ranked choice voting)hare
A data.frame of the Galton (1888) height and cubit data set.heights
The raw and transformed data from Holzinger and Swineford, 1939holzinger.dictionary holzinger.raw holzinger.swineford
US family income from US census 2008all.income income
16 multiple choice IQ itemsiqitems
75 mood items from the Motivational State Questionnaire for 3896 participantsmsq
75 mood items from the Motivational State Questionnaire for 3032 unique participantsmsq.keys msqR
NEO correlation matrix from the NEO_PI_R manualneo
Galton`s Peaspeas
Pollack et al (2012) correlation matrix for mediation exampleestress Pollack
psychTools: datasets and utility functions to accompany the psych packagepsychTools
Convert all Rd files in a directory to HTML files in a new directoryrd2html
Shortcuts for reading from the clipboard or a fileread.clipboard read.clipboard.csv read.clipboard.fwf read.clipboard.lower read.clipboard.tab read.clipboard.upper read.file read.file.csv read.https write.file write.file.csv
Recode or rearrange or reshape variables or values to new valuesrearrange recode wide2long
State Anxiety data from the PMC lab over multiple occasions.sai sai.dictionary tai
Salary example from Cohen, Cohen, Aiken and West (2003)salary
3 Measures of ability: SATV, SATQ, ACTsat.act
The Schutz correlation matrix example from Shapiro and ten BergeSchutz
Select a subset of rows (subjects) meeting one or more criteria for columnsselectBy splitBy
Project Talent data set from Marion Spengler and Rodica DamianDamian Spengler spengler Spengler.stat
A sample from the SAPA Personality Inventory including an item dictionary and scoring keys.spi spi.dictionary spi.keys
17 anthropometric measures from the USAF showing a general factorUSAF usaf
Useful utility functions for file/directory exploration and manipulation.fileCreate fileScan filesInfo filesList Utility
Paired comparison of preferences for 9 vegetablesveg vegetables
Combine two matrices or data frames into one based upon variable labelscombineMatrices vJoin
Correlation matrix of 135 self report and 30 peer report personality itemszola zola.dictionary zola.keys