print.psych {psych} | R Documentation |
Give limited output (print) or somewhat more detailed (summary) for the score.items
, cluster.cor
, cluster.loadings
, or ICLUST
functions
print.psych(x,digits=2,all=FALSE,cutoff=0,sort=FALSE,...) summary.psych(object,digits=2,items=FALSE,...)
x |
Output from score.items |
object |
Output from score.items |
items |
items=TRUE (default) does not print the item whole correlations |
digits |
Number of digits to use in printing |
all |
if all=TRUE, then the object is declassed and all output from the function is printed |
cutoff |
Cluster loadings < cutoff will not be printed |
sort |
Cluster loadings are in sorted order |
... |
More options to pass to summary and print |
Most of the psych functions produce too much output. print.psych and summary.psych use generic methods for printing just the highlights.
To get complete output, unclass(theobject) and then print it.
Various psyc functions produce copious output. This is a way to summarize the most important parts of the output of the score.items, cluster.scores, and ICLUST functions. See those ( score.items
, cluster.cor
, cluster.loadings
, or ICLUST
) for details on what is produced.
See score.items
, cluster.cor
, cluster.loadings
, or ICLUST
for details on what is printed.
William Revelle
data(bfi) keys.list <- list(agree=c(-1,2:5),conscientious=c(6:8,-9,-10),extraversion=c(-11,-12,13:15),neuroticism=c(16:20),openness = c(21,-22,23,24,-25)) keys <- make.keys(25,keys.list,item.labels=colnames(bfi)) scores <- score.items(keys,bfi,short=TRUE) scores summary(scores)