psych.misc {psych}R Documentation

Miscellaneous helper functions for the psych package

Description

This is a set of minor, if not trivial, helper functions.

lower.mat is a trivial, but useful, function to round off and print the lower triangle of a matrix.

progressBar prints out ... as it works through a tedious calculation.

Usage

psych.misc()
lower.mat(R, digits = 2)
progressBar(value,max,label=NULL) 

Arguments

R

A matrix or data frame

digits

round to digits

value

the current value of some looping variable

max

The maximum value the loop will achieve

label

what function is looping

Value

The lower triangle of a matrix, rounded to digits with titles abbreviated to digits + 3 (lower.mat) or a series of dots.

Examples

lower.mat(Thurstone)

[Package psych version 1.2.1 Index]