Creating New Columns with mutate()

Data Science with R Programming 6 min min read Updated: Mar 07, 2026 Beginner
Creating New Columns with mutate()
Beginner Topic 4 of 10

Mutate Function

The mutate() function allows you to create or modify columns in a dataset.

r mutate(mtcars, power_ratio = hp / wt)

Next Tutorial: arrange() Function

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators