[R] cronbachs alpha - score.items(psych) vs reliability(Rcmdr)
Greg.Snow at imail.org
Wed Feb 4 20:09:18 CET 2009
You can run a function from a package by doing something like:
This will load the package in the background, but not run the gui and other things. So you can use the function(s) that you want without running everything like when you do library(Rcmdr).
Hope this helps,
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of achristoffersen
> Sent: Tuesday, February 03, 2009 4:47 PM
> To: r-help at r-project.org
> Subject: [R] cronbachs alpha - score.items(psych) vs reliability(Rcmdr)
> Dear all,
> I like the way the Rcmdr package computes reliability. E.g
> reliability(cov(d[,c("q1", "q2", "q3", "q4", "q5", "q6")],
> will not only give me the alpha score, but also for each variable,
> alpha.score if deleted. However - when writing scripts it's very
> tiresome to
> load the whole Rcmdr GUI just for this purpose. So I'm looking for an
> another package that delivers the same feature.
> the score.items function in the psych package i find is too complicated
> requires a keys vector) and it doesn't report the "alpha if deleted"
> What have I missed when googling for an alternative?
> Thx in advance
> View this message in context: http://www.nabble.com/cronbachs-alpha---
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help