| build_tf_layer_data | R Documentation |
Evaluates the layer's tf aesthetics independently on their own natural grid
(or the user-specified grid). Called by finalize_tf_ggplot() per layer.
build_tf_layer_data(
layer_info,
plot_tf_aes,
scalar_col_map,
layer_idx,
enriched_data,
user_arg,
interpolate
)
layer_info |
List from |
plot_tf_aes |
tf aesthetics from the plot level (used when |
scalar_col_map |
Named list: key -> column name in enriched_data |
layer_idx |
Integer index of this layer (for keying layer-level scalar aes) |
enriched_data |
Data frame with original data + pre-evaluated scalar tf columns |
user_arg |
Optional evaluation grid (overrides natural grid) |
interpolate |
Whether to interpolate tf objects to |
NULL when no effective tf aes, otherwise list(long_data, new_mapping)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.