How to write an if else block in R and how its different from ifelse and if_else (CC175)

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

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

  • @dariushghasemi6476
    @dariushghasemi6476 3 года назад +3

    Hello Pat, I'm Dariush, a PhD student in Statistical Genetics. I'm quite happy after watching your channel videos, esp the last two ones, when I figure out you're also teaching basics in R where many like me might suffer from lacking enough knowledge on that, as well as the other videos like functional programming with purrr, I'm using it a lot esp when you are working with multiple SNPs and trying to regress them using lab parameters and then try to generate multiple ggplots for sensitivity analysis. You're absolutely awesome. I'll be even more thrilled if you make more videos on how to write a more complex function in R or sth like when you are functionally programming in R, and recalling back and force different named functions, and coping with different classes like numerics, lists, vectors and dataframes simultaneously. It'll be more tangible esp when you try to use base R code and run a comparative machine learning project without recalling caret or tidymodels. Thanks a lot, go ahead with more energy and joy. Cheers, Dariush ;)

    • @Riffomonas
      @Riffomonas  3 года назад +1

      Thank you so much for your comment Dariush! I’m so happy to hear that the videos are making a difference in your journey to learn R 😊

  • @richieeniks3711
    @richieeniks3711 8 месяцев назад

    Don't be too fast and try to make things more flexible/understandable. You are a great programmer!

  • @richieeniks3711
    @richieeniks3711 8 месяцев назад

    You are excellent but this video and some of your videos seem to project much of your personal programming skills rather than teaching. As I said, you are quite very good but please make your R online tutorials more teachable to your audience rather than showing skills. However, I will still thank you for all the efforts you always put into your tutorials. Thank you. Great job!!

    • @Riffomonas
      @Riffomonas  8 месяцев назад

      Thanks for tuning in! I try to straddle the line between teaching and implementing. I don't wan this to be a channel that breaks down each function in great detail. I want the channel to really highlight how to piece things together to solve interesting problems. I can appreciate that sometimes I go too far in either direction!