calc_aesthetics: Update data with aesthetic defaults and parameters values.

Description Usage Details Value

Description

This function is called by individual grob functions to combine data, defaults and aesthetic parameters. It throws away all aesthetics not used by the geom, but does not check that all required aesthetics are present: these may be added by geom_data which is called after calc_aesthetics.

Usage

1

Details

A list is returned so that constant aesthetics don't need to be needlessly repeated - the recycling can occur internally in grid. geom_grob methods should try and maintain this structure where possible.

Value

a list


hadley/layers documentation built on May 17, 2019, 10:42 a.m.