Getting Started with R for Education Research

Santtu Tikka, Juho Kopra, Merja Heinäniemi, Sonsoles López-Pernas and Mohammed Saqr
Learning Analytics Methods and Tutorials, 2024(2024), pp. 67--94

Abstract

The R programming language has become a popular tool for conducting data analysis in the field of learning analytics. This chapter provides an introduction to the basics of R programming, with a focus on the Rstudio integrated development environment and the tidyverse programming paradigm. The chapter covers topics such as data types and structures, control structures, pipes, functions, loops, and input/output operations. By the end of the chapter, readers should have a solid understanding of the basics of R programming and have the tools necessary to learn more in-depth topics such as data wrangling and basic statistics using R. © The Editor(s) (if applicable) and The Author(s) 2024. This book is an open access publication.

Affiliations

Department of Mathematics and Statistics, University of Jyväskylä, Jyväskylä, Finland; School of Computing, University of Eastern Finland, Joensuu, Finland; Institute of Biomedicine, University of Eastern Finland, Kuopio, Finland