Converting numeric into factor variables in R Studio (includes adding labels to factor levels)

Поделиться
HTML-код
  • Опубликовано: 26 фев 2023
  • This video demonstrates how to convert numeric into factor variables. I begin by creating a small data frame in R Studio. From there, I walk through steps for converting numeric variables into factor variables, and also how to add value labels that will show up in your output.
    Link to R script file from video here:
    drive.google.com/file/d/1vqbn...
    Additional link:
    drive.google.com/file/d/1oP1M...
    Be sure to check out my online sites at:
    www.drmcstats.net/
    sites.google.com/view/statist...

Комментарии • 5

  • @ameliadavis3384
    @ameliadavis3384 2 месяца назад

    Thank you so so much, your guidance is so easy to follow, it's really appreciated!!

  • @user-bl2zl6iw8z
    @user-bl2zl6iw8z 5 месяцев назад

    Thanks for teaching. It was straight to the point.

  • @nabilzawad
    @nabilzawad Год назад +1

    thanks a lot for the detail explanation

  • @electronikitten
    @electronikitten 3 месяца назад +1

    👏
    💐
    🙏

  • @javierbeltran7623
    @javierbeltran7623 5 месяцев назад

    When you apply the factor function over genderid, and then you use the str function, you can see that R shows "1"s and "2"s...That is confusing, because those ones and twos are neither levels nor labels!!!!