AesName-class: AesName

Description Usage Arguments Details Examples

Description

AesName is a very small class that allows for flexible inheritance of fxext_<>-functions (e. g. fx_ext_layer_single()). Whereas any name may be used, the available subclasses are:

Usage

1
AesName(aes)

Arguments

aes

The aes. If a subclass "<aes>AesName" exists, this will be instantiated.

Details

If other aesthetics are supplied, most methods default to a neutral element, e. g. identity in the case of fx_ggplot(). You can build AesName by calling the function and you can set its subclasses by new("<subclass>AesName", ...). This is, however, not recommended. It is better to use the aes argument in AesName(), as it defaults to generating AesName if the aes is unknown.

Examples

1
2
3
AesName(aes = "x")
AesName(aes = "m")
AesName(aes = "colour")

sflippl/tectr documentation built on May 6, 2019, 8:51 a.m.