add_feature | R Documentation |
ggplot2
instanceAdd a surface's feature to a ggplot2
instance
add_feature(
g,
x_anchor,
y_anchor,
feature_df,
feature_color,
feature_outline_color = "#ffffff00",
reflect_x = FALSE,
reflect_y = FALSE,
x_trans = 0,
y_trans = 0,
rotation = 0,
group = NULL
)
g |
The |
x_anchor |
The anchor point along the |
y_anchor |
The anchor point along the |
feature_df |
The data frame containing the points to add to the feature |
feature_color |
A hexadecimal string with which to color the feature once added to the plot |
feature_outline_color |
A hexadecimal string with which to color the
outline of the feature added to the plot. The default value is
|
reflect_x |
Whether or not to reflect the feature over the |
reflect_y |
Whether or not to reflect the feature over the |
group |
A grouping to pass along to |
A ggplot2
instance with the feature added to it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.