data-science-in-education icon indicating copy to clipboard operation
data-science-in-education copied to clipboard

Use forcats for reverse code?

Open ivelasq opened this issue 4 years ago • 1 comments

Something to consider

ivelasq avatar Mar 22 '21 19:03 ivelasq

@restrellado @joshuarosenberg what do you think of this suggestion?

It does use the tidyverse.

pre_survey_rev2 <-
  pre_survey %>%
  mutate(q4 = fct_rev(as.factor(q4)))

ivelasq avatar Feb 16 '25 04:02 ivelasq