Skip to main content
Category
Technologies

R Programming Tutorial

In our R tutorials, you'll find helpful tips and use cases to grow your programming skills. We'll keep you up to date with the latest techniques.
Other technologies:
AI AgentsArtificial IntelligenceAWSAzureBusiness IntelligenceChatGPTDatabricksdbtDockerExcelGenerative AIGitGoogle Cloud PlatformHugging FaceJavaJuliaKafkaKubernetesLarge Language ModelsMongoDBMySQLNoSQLOpenAIPostgreSQLPower BIPySparkPythonScalaSnowflakeSpreadsheetsSQLSQLiteTableau
GroupTraining 2 or more people?Try DataCamp for Business
R

Graphics with ggplot2 Tutorial

Data visualization is an essential skill for data scientists. It combines statistics and design in meaningful and appropriate ways.
DataCamp Team's photo

DataCamp Team

September 25, 2020

R

Sorting in R using order() Tutorial

In this tutorial, you'll learn about sorting using order(). We will cover how to sort vectors using different parameters, sorting dataframes, and more.

Olivia Smith

August 29, 2020

R

GLM in R: Generalized Linear Model

Learn about generalized linear models (GLM) and how they differ from linear models.
DataCamp Team's photo

DataCamp Team

June 30, 2020

R

Subsetting in R Tutorial

Find out how to access your dataframe's data with subsetting. Learn how to subset by using brackets or by using R's subset() function.
DataCamp Team's photo

DataCamp Team

December 2, 2024

R

Objects and Classes in R

Learn about Object-Oriented Programming (OOP) along with R's objects, different classes like S3 and S4, along with its construction, creating its generic function with examples and many more.

Olivia Smith

June 22, 2020

R

IF ELSE Function in R

Learn in detail about the ifelse() function, including syntax, along with finding whether a number is odd or even, and finally, with an example to see whether a student passed or failed their exam.

Olivia Smith

June 8, 2020

R

Factors in R Tutorial

Learn about the factor function in R, along with an example, and it's structure, order levels, renaming of the levels, and finally, with the ordering of categorical values.

Olivia Smith

June 8, 2020

R

Matrices in R Tutorial

Learn all about R's matrix, naming rows and columns, accessing elements also with computation like addition, subtraction, multiplication, and division.

Olivia Smith

May 11, 2020

R

Data Reshaping in R Tutorial

Learn about data reshaping in R, different functions like rbind(), cbind(), along with Melt(), Dcast(), and finally about the transpose function.

Olivia Smith

May 5, 2020

R

Estimating COVID-19's 𝑅𝑡 in Real-Time (Replicating in R) Tutorial

Kevin Systrom published a really interesting article on estimating $R_t$, the measure known as effective reproduction number. We will use the same approach outlined by Kevin in his article to estimate COVID-19's Rt in real-time.
Ramnath Vaidyanathan's photo

Ramnath Vaidyanathan

April 17, 2020

R

Arrays in R

Learn about Arrays in R, including indexing with examples, along with the creation and addition of matrices and the apply() function.

Olivia Smith

April 6, 2020

R

Strings in R Tutorial

Learn about R's Strings: its rules, concatenation, along with essential properties of the string, extracting and replacing a character string, and formatting a string.

Olivia Smith

April 6, 2020