[R] Invert Likert-Scale Values
adelevet at yahoo.com
Sat Aug 4 23:57:33 CEST 2007
I had already been greatful about John Kane's response
(using the car library's recode function), and I would
have gone with that -- along with the promise to
research any questions I may have in the future more
Now I'm thinking it's not a matter of researching, but
of plain and simple logic. Sorry to have made you guys
help me with my ABCs, but I do see it as an
opportunity to apreciate it as a lesson learned.
--- Dieter Menne <dieter.menne at menne-biomed.de> wrote:
> Alexis Delevett <adelevet <at> yahoo.com> writes:
> > I am using R to process some community survey
> data. Several item responses are
> recorded via a 7-point
> > Likert-Scale. As I have coded the responses, 1
> represents high agreement, and
> 7 high disagreement. This
> > of course impacts the coefficients in a linear
> regression (of example
> agreement to self-perception
> > measures on housing satisfaction). For some
> purposes, in order to make the
> coefficients more accessible
> > to the reader, I would like to invert the item
> values, i.e. to arrive at 1 for
> high disagreement, and 7 for
> > high agreement (such that the linear regression
> would express something like
> "the higher the agreement
> > on A, the greater the B).
> > Is there an already existing function for this, or
> do I use a custom replace
> loop in R?
> It's a rarely used function called '-'
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained,
> reproducible code.
Got a little couch potato?
Check out fun summer activities for kids.
More information about the R-help