[R] Primer for working with survey data in R
Michael Dewey
lists at dewey.myzen.co.uk
Sun Nov 12 11:15:51 CET 2017
Dear Kevin
The nearest equivalent to the SPSS VALUE LABELS is the labels in
factor(). If you want to attach labels to a whole question like VARIABLE
LABELS then you may want to use an attribute using attr()
Michael
On 11/11/2017 19:56, Kevin Taylor wrote:
> I am taking a behavioral stats graduate class and the instructor is using
> SPSS. I'm trying to follow along in R.
>
> Recently in class we started working with scales and survey data, computing
> Cronbach's Alpha, reversing values for reverse coded items, etc.
>
> Also, SPSS has some built in functionality for entering the meta-data for
> your survey, e.g. the possible values for items, the text of the question,
> etc.
>
> I haven't been able to find any survey guidance for R other than how to run
> the actual calculations (Cronbach's, reversing values).
>
> Are there tutorials, books, or other primers, that would guide a newbie
> step by step through using R for working with survey data? It would be
> helpful to see how others are doing these things. (Not just how to run the
> mathematical operations but how to work with and manage the data.) Possibly
> this would be in conjunction with some packages such as Likert or Scales.
>
> TIA.
>
> --Kevin
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>
--
Michael
http://www.dewey.myzen.co.uk/home.html
More information about the R-help
mailing list