[R] summated scale

Ista Zahn istazahn at gmail.com
Sat Mar 20 21:11:40 CET 2010


Hi Anthony,
Have a look at ?rowSums (if you just want to calculate the score) or
?score.items in the psych package (if you want to calculate alpha's,
item-by-scale correlations etc.).

-Ista

On Sat, Mar 20, 2010 at 4:02 PM, Anthony Lopez <skytrek820 at gmail.com> wrote:
> hello,
>
> I am new to R (convert from Stata) and I am wondering if there is an R
> command/function for generating a summated scale from, for example, four
> separate variables in a data set.  In other words, I want to transform the
> variables x1, x2, x3, and x4 (which have high inter-item reliability) into
> one new summated variable x'.  Can't seem to find it in the psy or psych
> package ...
>
> Thanks for any suggestions!
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org



More information about the R-help mailing list