apply_maps: Calculate aesthetic values for a data frame

Description Usage Arguments Value

Description

apply_maps evaluates a mapping within a data frame to calculate aesthetic values. apply_maps is intended to be used in conjunction with ddply. If each mapping returns a single value, apply_mapping will return a single row of data. This provides a convenient way to reduce a set of geoms, similar to using summarise with ddply.

Usage

1
  apply_maps(data, mapping, enclos = parent.frame())

Arguments

data

a data frame

mapping

an object of class uneval, usually the output of aes

enclos

and environment

Value

a data frame


garrettgman/ggplyr documentation built on May 16, 2019, 5:38 p.m.