Recoding and reverse coding variables in dplyr

Link to the dataset: quantpsych.net/data/data_satis...
Link to the R script: quantpsych.net/data/10-advance...
Learning objectives:
know how to use recode
rules for going from numbers to characters and vice versa
how to use across
arguments for across
rules for specifying a function with across
~ at the beginning, then .x when you're referring to the column you're modifying
practice: reproduce what I've done with the same dataset
This video is part of the data science in R playlist: • Data Science with R

Пікірлер: 2

  • @user-gx5mj8vl6k
    @user-gx5mj8vl6k2 жыл бұрын

    Wow, this video is only 1 day old! I just felt the need of knowing how to recode my scale in reverse, and there it is :D Many thanks for your content!

  • @edafade
    @edafade2 жыл бұрын

    Any chance you might do some other longitudinal analyses, like latent class/transition? Love the videos! You're helping me get through my PhD.