R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: i686-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- array(list(7 + ,7 + ,4 + ,5 + ,4 + ,6 + ,6 + ,6 + ,6 + ,6 + ,6 + ,6 + ,5 + ,5 + ,5 + ,5 + ,6 + ,4 + ,5 + ,4 + ,6 + ,6 + ,6 + ,6 + ,6 + ,7 + ,7 + ,6 + ,7 + ,6 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,6 + ,7 + ,6 + ,7 + ,6 + ,5 + ,6 + ,5 + ,6 + ,6 + ,5 + ,6 + ,5 + ,4 + ,7 + ,7 + ,6 + ,7 + ,6 + ,7 + ,7 + ,7 + ,7 + ,6 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,6 + ,7 + ,7 + ,7 + ,7 + ,6 + ,6 + ,6 + ,5 + ,6 + ,4 + ,7 + ,6 + ,7 + ,6 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,6 + ,7 + ,6 + ,7 + ,6 + ,6 + ,6 + ,3 + ,5 + ,5 + ,6 + ,5 + ,7 + ,4 + ,7 + ,6 + ,7 + ,5 + ,6 + ,5 + ,4 + ,5 + ,7 + ,7 + ,7 + ,7 + ,7 + ,6 + ,7 + ,6 + ,7 + ,6 + ,5 + ,7 + ,6 + ,5 + ,6 + ,5 + ,7 + ,6 + ,5 + ,6 + ,6 + ,6 + ,2 + ,6 + ,2 + ,5 + ,2 + ,2 + ,2 + ,2 + ,6 + ,6 + ,5 + ,7 + ,5 + ,6 + ,7 + ,6 + ,6 + ,6 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,7 + ,7 + ,7 + ,7 + ,7 + ,7 + ,6 + ,4 + ,4 + ,6 + ,4 + ,6 + ,7 + ,6 + ,6 + ,6 + ,4 + ,7 + ,4 + ,4 + ,4 + ,7 + ,6 + ,7 + ,5 + ,7 + ,6 + ,6 + ,4 + ,6 + ,4 + ,4 + ,5 + ,4 + ,5 + ,4 + ,5 + ,5 + ,5 + ,5 + ,5) + ,dim=c(5 + ,162) + ,dimnames=list(c('Q1_3' + ,'Q1_10' + ,'Q1_17' + ,'Q1_24' + ,'Q1_17') + ,1:162)) > y <- array(NA,dim=c(5,162),dimnames=list(c('Q1_3','Q1_10','Q1_17','Q1_24','Q1_17'),1:162)) > for (i in 1:dim(x)[1]) + { + for (j in 1:dim(x)[2]) + { + y[i,j] <- as.numeric(x[i,j]) + } + } > #'GNU S' R Code compiled by R2WASP v. 1.2.291 () > #Author: root > #To cite this work: Wessa P., 2012, Cronbach alpha (v1.0.2) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_cronbach.wasp/ > #Source of accompanying publication: > # > library(psych) > z <- t(y) > (r <- alpha(z)) In factor.scores, the correlation matrix is singular, an approximation is used Error in `row.names<-.data.frame`(`*tmp*`, value = value) : duplicate 'row.names' are not allowed Calls: alpha ... rownames<- -> row.names<- -> row.names<-.data.frame In addition: Warning messages: 1: In cor.smooth(r) : Matrix was not positive definite, smoothing was done 2: In cor.smooth(r) : Matrix was not positive definite, smoothing was done 3: In cor.smooth(R) : Matrix was not positive definite, smoothing was done 4: In cor.smooth(R) : Matrix was not positive definite, smoothing was done 5: In cor.smooth(R) : Matrix was not positive definite, smoothing was done 6: In cor.smooth(R) : Matrix was not positive definite, smoothing was done 7: non-unique value when setting 'row.names': 'Q1_17' Execution halted