ggconventions-utilities: Utility function that allows automatic dispatching of...

Description Usage Arguments Examples

Description

Utility function that allows automatic dispatching of convention scales, not to be directly used by user

is.convention is the membership function for the convention class

Usage

1
2
3

Arguments

y

An object with an attribute convention

x

Object to be tested

Examples

1
2
3
source(system.file("conventions/gender.R", package="ggconventions"))
data("gender_data", package="ggconventions")
sapply(c_transform(gender_data), is.convention)

trevorld/ggconventions documentation built on May 25, 2019, 9:25 a.m.