🗓️ Session 3: Basic object types in R

Author
Published

28 03 2024

Modified

18 04 2024

This session is video-based since it introduces some very important fundamentals, which might be a bit boring to listen to in a lecture. In the videos, you learn about the most important and most fundamental object types in R, such as decimal numbers or words. While this might look a bit boring at first, understanding these basic types is fundamental for all the more advanced (and exiting) stuff in the future!

👨‍🏫 Lecture Slides

Either click on the slide area below or click here to download the slides.

🎥 Lecture videos

All the videos are available via this playlist.

📚 Mandatory Reading

Read the following tutorials:

🏆 Further readings

I suggest you read these references after you learned about data frames in session 4 and data wrangling techniques in sessions 8 and 9. - Sections 1-3 in Chapter 12 of Wickham et al. (2023). - Chapter 13 in Wickham et al. (2023). - Chapter 14 in Wickham et al. (2023).

✍️ Coursework

  • Do the ObjectTypes1 exercises of the package DataScienceExercises
learnr::run_tutorial(
  name = "ObjectTypes1", 
  package = "DataScienceExercises", 
  shiny_args=list("launch.browser"=TRUE))
  • If you have questions or problems, please post them in the Moodle forum

References

Wickham, H., Çetinkaya-Rundel, M. and Grolemund, G. (2023) R for data science: Import, tidy, transform, visualize, and model data, 2nd edition., Beijing et al.: O’Reilly, available at https://r4ds.hadley.nz/.