Description Usage Arguments Value
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.
1 | apply_maps(data, mapping, enclos = parent.frame())
|
data |
a data frame |
mapping |
an object of class uneval, usually the
output of |
enclos |
and environment |
a data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.