# Tools to Accompany the 'psych' Package for Psychological Research

## Documentation for package ‘psychTools’ version 2.6.4

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B C D E F G H I M N O P R S T U V W Z

## -- A --

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 (2003)
Athenstaedt.dictionary | Gender Role Self Concept data from Athenstaedt (2003)
Athenstaedt.keys | Gender Role Self Concept data from Athenstaedt (2003)

## -- B --

bfi | 25 Personality items representing 5 factors
bfi.adjectives | 100 adjectives describing the "big 5" for 502 subjects
BFI.adjectives.dictionary | Dictionary for the 100 Big Five Adjectives
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.dictionary | Dictionary for the 100 Big Five Adjectives
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 (1915)

## -- C --

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 (taken from Colom et al. 2002.)
colom.ed0 | Correlations of 14 ability tests from the Spanish version of the WAIS (taken from Colom et al. 2002.)
colom.ed1 | Correlations of 14 ability tests from the Spanish version of the WAIS (taken from Colom et al. 2002.)
colom.ed2 | Correlations of 14 ability tests from the Spanish version of the WAIS (taken from Colom et al. 2002.)
colom.ed3 | Correlations of 14 ability tests from the Spanish version of the WAIS (taken from Colom et al. 2002.)
combineMatrices | Combine two matrices or data frames into one based upon variable labels
cor2latex | Convert a data frame, correlation matrix, or factor analysis output to a LaTeX or rtf table
cubits | Galton's example of the relationship between height and 'cubit' or forearm length
cushny | A data set from Cushny and Peebles (1905) on the effect of three drugs on hours of sleep, used by Student (1908)

## -- D --

Damian | Project Talent data set from Marion Spengler and Rodica Damian
df2latex | Convert a data frame, correlation matrix, or factor analysis output to a LaTeX or rtf table
dfOrder | Sort (order) a dataframe or matrix by multiple columns

## -- E --

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
estress | Pollack et al (2012) correlation matrix for mediation example

## -- F --

fa2latex | Convert a data frame, correlation matrix, or factor analysis output to a LaTeX or rtf table
fileCreate | Useful utility functions for file/directory exploration and manipulation.
fileScan | Useful utility functions for file/directory exploration and manipulation.
filesInfo | Useful utility functions for file/directory exploration and manipulation.
filesList | Useful utility functions for file/directory exploration and manipulation.
flat | Two data sets of affect and arousal scores as a function of personality and movie conditions

## -- G --

galton | Galton's Mid parent child height data
GERAS | Data from Gruber et al, 2020, Study 2: Gender Related Attributes Survey
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
glbwarm | 7 attitude items about Global Warming policy from Erik Nisbet
globalWarm | 7 attitude items about Global Warming policy from Erik Nisbet

## -- H --

hare | Counting Hare votes (Ranked choice voting)
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

## -- I --

ICC2latex | Convert a data frame, correlation matrix, or factor analysis output to a LaTeX or rtf table
income | US family income from US census 2008
iqitems | 16 multiple choice IQ items
irt2latex | Convert a data frame, correlation matrix, or factor analysis output to a LaTeX or rtf table

## -- M --

maps | Two data sets of affect and arousal scores as a function of personality and movie conditions
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

## -- N --

neo | NEO correlation matrix from the NEO_PI_R manual

## -- O --

omega2latex | Convert a data frame, correlation matrix, or factor analysis output to a LaTeX or rtf table

## -- P --

peas | Galton's Peas
Pollack | Pollack et al (2012) correlation matrix for mediation example
psychTools | psychTools: datasets and utility functions to accompany the psych package

## -- R --

rd2html | Convert all Rd files in a directory to HTML files in a new directory
read.clipboard | Shortcuts for reading from the clipboard or a file
read.clipboard.csv | Shortcuts for reading from the clipboard or a file
read.clipboard.fwf | Shortcuts for reading from the clipboard or a file
read.clipboard.lower | Shortcuts for reading from the clipboard or a file
read.clipboard.tab | Shortcuts for reading from the clipboard or a file
read.clipboard.upper | Shortcuts for reading from the clipboard or a file
read.file | Shortcuts for reading from the clipboard or a file
read.file.csv | Shortcuts for reading from the clipboard or a file
read.https | Shortcuts for reading from the clipboard or a file
rearrange | Recode or rearrange or reshape variables or values to new values
recode | Recode or rearrange or reshape variables or values to new values

## -- S --

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 (2003)
sat.act | 3 Measures of ability: SATV, SATQ, ACT
Schutz | The Schutz correlation matrix example from Shapiro and ten Berge
selectBy | Select a subset of rows (subjects) meeting one or more criteria for columns
Spengler | Project Talent data set from Marion Spengler and Rodica Damian
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.
splitBy | Select a subset of rows (subjects) meeting one or more criteria for columns

## -- T --

tai | State Anxiety data from the PMC lab over multiple occasions.

## -- U --

USAF | 17 anthropometric measures from the USAF showing a general factor
usaf | 17 anthropometric measures from the USAF showing a general factor
Utility | Useful utility functions for file/directory exploration and manipulation.

## -- V --

veg | Paired comparison of preferences for 9 vegetables
vegetables | Paired comparison of preferences for 9 vegetables
vJoin | Combine two matrices or data frames into one based upon variable labels

## -- W --

wide2long | Recode or rearrange or reshape variables or values to new values
write.file | Shortcuts for reading from the clipboard or a file
write.file.csv | Shortcuts for reading from the clipboard or a file

## -- Z --

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