You can run a function from a package by doing something like:

> Rcmdr::reliability(cov(DavisThin))

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
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of achristoffersen
> Sent: Tuesday, February 03, 2009 4:47 PM
> To: r-help@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")],
> use="complete.obs"))
> 
> 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
> (it
> requires a keys vector) and it doesn't report the "alpha if deleted"
> score.
> 
> What have I missed when googling for an alternative?
> 
> Thx in advance
> 
> Andreas
> --
> View this message in context: http://www.nabble.com/cronbachs-alpha---
> score.items%28psych%29-vs-reliability%28Rcmdr%29-
> tp21821595p21821595.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to