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:
All posts
R Programming

How to Fix the Non-Numeric Argument to Binary Operator Error in R

The non-numeric argument to binary operator error in R happens when you try to do arithmetic on non-numeric data, like a character string or factor.
Austin Chia's photo

Austin Chia

June 7, 2024

R Programming

Mastering Data Structures in the R Programming Language

Read our comprehensive guide on how to work with data structures in R programming: vectors, lists, arrays, matrices, factors, and data frames.
Vikash Singh's photo

Vikash Singh

May 23, 2024

R Programming

How to Transpose a Matrix in R: A Quick Tutorial

Learn three methods to transpose a matrix in R in this quick tutorial
Adel Nehme's photo

Adel Nehme

April 12, 2024

R Programming

Sorting Data in R

How to sort a data frame in R.
DataCamp Team's photo

DataCamp Team

April 10, 2024

R Programming

Scatterplot in R

Learn how to create a scatterplot in R. The basic function is plot(x, y), where x and y are numeric vectors denoting the (x,y) points to plot.
DataCamp Team's photo

DataCamp Team

March 31, 2024

R Programming

Operators in R

Learn how to use arithmetic and logical operators in R. These binary operators work on vectors, matrices, and scalars.
DataCamp Team's photo

DataCamp Team

March 3, 2024

R Programming

Merging Data in R

Merging data is a common task in data analysis, especially when working with large datasets. The merge function in R is a powerful tool that allows you to combine two or more datasets based on shared variables.
DataCamp Team's photo

DataCamp Team

February 29, 2024

R Programming

Axes and labels in R

Improve your graphs in R with titles, text annotations, labelling of points, minor tick marks, reference lines, custom axes, and a chart legend.
DataCamp Team's photo

DataCamp Team

February 21, 2024

R Programming

Combining Plots

Learn how to combining multiple plots in R into one graph with either the par() or layout() functions. This page includes coding examples.
DataCamp Team's photo

DataCamp Team

January 29, 2024

R Programming

R Markdown Tutorial for Beginners

Learn what R Markdown is, what it's used for, how to install it, what capacities it provides for working with code, text, and plots, what syntax it uses, what output formats it supports, and how to render and publish R Markdown documents.
Elena Kosourova 's photo

Elena Kosourova

December 8, 2023

R Programming

Visualizing Climate Change Data with ggplot2: A Step-by-Step Tutorial

Learn how to use ggplot2 in R to create compelling visualizations of climate change data. This step-by-step tutorial teaches you to find, analyze, and visualize historical weather data.

Bruno Ponne

September 19, 2023