Learn R Programming

psych (version 1.0-25)

test.psych: Testing of functions in the psych package

Description

Test to make sure the psych functions run on basic test data sets

Usage

test.psych(first=1,last=5,short=TRUE)

Arguments

first
first=1: start with dataset first
last
last=5: test for datasets until last
short
short=TRUE - don't return any analyses

Value

  • outif short=FALSE, then list of the output from all functions tested

Warning

Warning messages will be thrown by fa.parallel

Details

When modifying the psych package, it is useful to make sure that adding some code does not break something else. This function tests the major functions on various standard data sets. This function also shows off a number of the capabilities of the psych package.

Examples

Run this code
#test <- psych.test()

Run the code above in your browser using DataLab