aes_filter: Convenience function to easily filter ggplot2 aesthetics

View source: R/xplot_helpers.R

aes_filterR Documentation

Convenience function to easily filter ggplot2 aesthetics

Description

Convenience function to easily filter ggplot2 aesthetics

Usage

aes_filter(mapping, drop = NULL, keep_only = NULL)

Arguments

mapping

ggplot2 aesthetics

drop

names of ggplot2 aesthetics to be removed from the 'mapping'. Alternative to the 'keep_only' argument.

keep_only

names of the only ggplot2 aesthetics to be kept in the 'mapping'. Alternative to the 'drop' argument.

Value

ggplot2 aesthetics mapping


xpose documentation built on July 9, 2023, 6:12 p.m.