aes_d_rename: Rename columns in a dataset

View source: R/aes_d.R

aes_d_renameR Documentation

Rename columns in a dataset

Description

This function is designed to take a dataset and a data aesthetic mapping and rename the columns.

Usage

aes_d_rename(data, mapping, compulsory_cols)

Arguments

data

Dataset to perform renaming

mapping

A mapping as produce by aes_d, aes_d_ or a character vector of a column present in the dataset

compulsory_cols

A character vector of compulsory columns needed to perform renaming


liamgilbey/ggwaffle documentation built on Sept. 3, 2022, 4:53 p.m.