plot_flower | R Documentation |
Flower plot
plot_flower(.Data, title = NA, legend_include = TRUE, colors = NA,
fixed_colors = FALSE, filename = NA)
.Data |
data frame containing scores to be plotted. Column names should include "score", "weight", "category", and "label" |
title |
optional title for the plot |
legend_include |
logical, whether to include a plot legend, defaults to TRUE |
colors |
an optional color palette to be used for the petal colors |
fixed_colors |
if TRUE, then use a discrete fixed color palette for coloring petals based on petal categories; defaults to FALSE, |
filename |
if not NA, save the figure using this filename (relative or absolute) |
ggplot object of the flowerplot
data(ohi)
plot_flower(ohi, "OHI Example")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.